#[repr(C)]pub struct SemaphoreCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SemaphoreCreateFlagBits,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
flags: SemaphoreCreateFlagBitsImplementations§
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 · 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 SemaphoreCreateInfo
impl Debug for SemaphoreCreateInfo
Source§impl Default for SemaphoreCreateInfo
impl Default for SemaphoreCreateInfo
Source§fn default() -> SemaphoreCreateInfo
fn default() -> SemaphoreCreateInfo
Returns the “default value” for a type. Read more
impl Copy for SemaphoreCreateInfo
Auto Trait Implementations§
impl Freeze for SemaphoreCreateInfo
impl RefUnwindSafe for SemaphoreCreateInfo
impl !Send for SemaphoreCreateInfo
impl !Sync 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