#[repr(C)]pub struct SemaphoreCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const void,
pub flags: SemaphoreCreateFlags,
pub _p: PhantomData<&'a ()>,
}Expand description
VkSemaphoreCreateInfo
Fields§
§s_type: StructureTypeVkStructureType sTypep_next: *const voidvoid const* pNextOptional
flags: SemaphoreCreateFlagsSemaphore creation flags
VkSemaphoreCreateFlags flagsOptional
_p: PhantomData<&'a ()>Implementations§
Source§impl<'a> SemaphoreCreateInfo<'a>
impl<'a> SemaphoreCreateInfo<'a>
Source§impl<'a> SemaphoreCreateInfo<'a>
impl<'a> SemaphoreCreateInfo<'a>
Sourcepub fn flags(self, flags: SemaphoreCreateFlags) -> Self
pub fn flags(self, flags: SemaphoreCreateFlags) -> Self
Semaphore creation flags
VkSemaphoreCreateFlags flagsOptional
Trait Implementations§
Source§impl<'a, 'b> Abi<*const VkSemaphoreCreateInfo> for &'b SemaphoreCreateInfo<'a>
impl<'a, 'b> Abi<*const VkSemaphoreCreateInfo> for &'b SemaphoreCreateInfo<'a>
fn abi(self) -> *const VkSemaphoreCreateInfo
Source§impl<'a, 'b> Abi<*mut VkSemaphoreCreateInfo> for &'b mut SemaphoreCreateInfo<'a>
impl<'a, 'b> Abi<*mut VkSemaphoreCreateInfo> for &'b mut SemaphoreCreateInfo<'a>
fn abi(self) -> *mut VkSemaphoreCreateInfo
Source§impl<'a> Abi<VkSemaphoreCreateInfo> for SemaphoreCreateInfo<'a>
impl<'a> Abi<VkSemaphoreCreateInfo> for SemaphoreCreateInfo<'a>
fn abi(self) -> VkSemaphoreCreateInfo
Source§impl<'a> Chainable for SemaphoreCreateInfo<'a>
impl<'a> Chainable for SemaphoreCreateInfo<'a>
Source§fn p_next_mut(&mut self) -> &mut *mut c_void
fn p_next_mut(&mut self) -> &mut *mut c_void
The mutable reference of
pNext fieldSource§unsafe fn push_next<E: Extend<Self>>(&mut self, ex: &mut E) -> &mut Self
unsafe fn push_next<E: Extend<Self>>(&mut self, ex: &mut E) -> &mut Self
Push the next struct to the chain
Source§unsafe fn with_next<E: Extend<Self>>(self, ex: &mut E) -> Self
unsafe fn with_next<E: Extend<Self>>(self, ex: &mut E) -> Self
Push the next struct to the chain
Source§unsafe fn next(&self) -> Option<&BaseInStructure<'_>>
unsafe fn next(&self) -> Option<&BaseInStructure<'_>>
Get the next struct in the chain
Source§unsafe fn next_mut(&mut self) -> Option<&mut BaseOutStructure<'_>>
unsafe fn next_mut(&mut self) -> Option<&mut BaseOutStructure<'_>>
Get the next struct in the chain
Source§unsafe fn upcast(&self) -> &BaseInStructure<'_>
unsafe fn upcast(&self) -> &BaseInStructure<'_>
Upcast the struct to
VkBaseInStructureSource§unsafe fn upcast_mut(&mut self) -> &mut BaseOutStructure<'_>
unsafe fn upcast_mut(&mut self) -> &mut BaseOutStructure<'_>
Upcast the struct to
VkBaseOutStructureSource§impl<'a> Clone for SemaphoreCreateInfo<'a>
impl<'a> Clone for SemaphoreCreateInfo<'a>
Source§fn clone(&self) -> SemaphoreCreateInfo<'a>
fn clone(&self) -> SemaphoreCreateInfo<'a>
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<'a> Debug for SemaphoreCreateInfo<'a>
impl<'a> Debug for SemaphoreCreateInfo<'a>
Source§impl<'a> Default for SemaphoreCreateInfo<'a>
impl<'a> Default for SemaphoreCreateInfo<'a>
Source§impl<'a> From<SemaphoreCreateInfo<'a>> for VkSemaphoreCreateInfo
impl<'a> From<SemaphoreCreateInfo<'a>> for VkSemaphoreCreateInfo
Source§fn from(value: SemaphoreCreateInfo<'a>) -> Self
fn from(value: SemaphoreCreateInfo<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<VkSemaphoreCreateInfo> for SemaphoreCreateInfo<'a>
impl<'a> From<VkSemaphoreCreateInfo> for SemaphoreCreateInfo<'a>
Source§fn from(value: VkSemaphoreCreateInfo) -> Self
fn from(value: VkSemaphoreCreateInfo) -> Self
Converts to this type from the input type.
Source§impl<'a> StructType for SemaphoreCreateInfo<'a>
impl<'a> StructType for SemaphoreCreateInfo<'a>
Source§const TYPE: StructureType = crate::vk::StructureType::SemaphoreCreateInfo
const TYPE: StructureType = crate::vk::StructureType::SemaphoreCreateInfo
SemaphoreCreateInfo
Source§impl<'a> Sys<'a> for SemaphoreCreateInfo<'a>
impl<'a> Sys<'a> for SemaphoreCreateInfo<'a>
type Target = VkSemaphoreCreateInfo
Source§fn sys(self) -> VkSemaphoreCreateInfo
fn sys(self) -> VkSemaphoreCreateInfo
Convert to sys types
impl<'a> Copy for SemaphoreCreateInfo<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for ExportMetalObjectCreateInfoEXT<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for ExportSemaphoreCreateInfo<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for ExportSemaphoreSciSyncInfoNV<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for ExportSemaphoreWin32HandleInfoKHR<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for QueryLowLatencySupportNV<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for SemaphoreSciSyncCreateInfoNV<'a>
impl<'a> Extend<SemaphoreCreateInfo<'a>> for SemaphoreTypeCreateInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreCreateInfo<'a>
impl<'a> RefUnwindSafe for SemaphoreCreateInfo<'a>
impl<'a> !Send for SemaphoreCreateInfo<'a>
impl<'a> !Sync for SemaphoreCreateInfo<'a>
impl<'a> Unpin for SemaphoreCreateInfo<'a>
impl<'a> UnsafeUnpin for SemaphoreCreateInfo<'a>
impl<'a> UnwindSafe for SemaphoreCreateInfo<'a>
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