#[repr(C)]pub struct SemaphoreTypeCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub semaphore_type: SemaphoreType,
pub initial_value: u64,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§semaphore_type: SemaphoreType
§initial_value: u64
Implementations§
Source§impl SemaphoreTypeCreateInfo
impl SemaphoreTypeCreateInfo
pub fn builder<'a>() -> SemaphoreTypeCreateInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for SemaphoreTypeCreateInfo
impl Clone for SemaphoreTypeCreateInfo
Source§fn clone(&self) -> SemaphoreTypeCreateInfo
fn clone(&self) -> SemaphoreTypeCreateInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SemaphoreTypeCreateInfo
impl Debug for SemaphoreTypeCreateInfo
Source§impl Default for SemaphoreTypeCreateInfo
impl Default for SemaphoreTypeCreateInfo
Source§impl TaggedStructure for SemaphoreTypeCreateInfo
impl TaggedStructure for SemaphoreTypeCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::SEMAPHORE_TYPE_CREATE_INFO
impl Copy for SemaphoreTypeCreateInfo
impl ExtendsPhysicalDeviceExternalSemaphoreInfo for SemaphoreTypeCreateInfo
impl ExtendsSemaphoreCreateInfo for SemaphoreTypeCreateInfo
Auto Trait Implementations§
impl Freeze for SemaphoreTypeCreateInfo
impl RefUnwindSafe for SemaphoreTypeCreateInfo
impl !Send for SemaphoreTypeCreateInfo
impl !Sync for SemaphoreTypeCreateInfo
impl Unpin for SemaphoreTypeCreateInfo
impl UnwindSafe for SemaphoreTypeCreateInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)