#[repr(C)]pub struct SemaphoreCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SemaphoreCreateFlags,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
flags: SemaphoreCreateFlagsImplementations§
Source§impl SemaphoreCreateInfo
impl SemaphoreCreateInfo
Sourcepub fn builder<'a>() -> SemaphoreCreateInfoBuilder<'a>
pub fn builder<'a>() -> SemaphoreCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SemaphoreCreateInfo
impl Clone for SemaphoreCreateInfo
Source§fn clone(&self) -> SemaphoreCreateInfo
fn clone(&self) -> SemaphoreCreateInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemaphoreCreateInfo
Source§impl Debug for SemaphoreCreateInfo
impl Debug for SemaphoreCreateInfo
Auto Trait Implementations§
impl !Send for SemaphoreCreateInfo
impl !Sync for SemaphoreCreateInfo
impl Freeze for SemaphoreCreateInfo
impl RefUnwindSafe for SemaphoreCreateInfo
impl Unpin for SemaphoreCreateInfo
impl UnsafeUnpin for SemaphoreCreateInfo
impl UnwindSafe for SemaphoreCreateInfo
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