#[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
VkSemaphoreTypeCreateInfo
Provided by VK_BASE_VERSION_1_2.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
semaphore_type: SemaphoreType§initial_value: u64Implementations§
Source§impl SemaphoreTypeCreateInfo
impl SemaphoreTypeCreateInfo
Sourcepub fn builder<'a>() -> SemaphoreTypeCreateInfoBuilder<'a>
pub fn builder<'a>() -> SemaphoreTypeCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SemaphoreTypeCreateInfo
impl Clone for SemaphoreTypeCreateInfo
Source§fn clone(&self) -> SemaphoreTypeCreateInfo
fn clone(&self) -> SemaphoreTypeCreateInfo
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 SemaphoreTypeCreateInfo
impl Debug for SemaphoreTypeCreateInfo
Source§impl Default for SemaphoreTypeCreateInfo
impl Default for SemaphoreTypeCreateInfo
Source§fn default() -> SemaphoreTypeCreateInfo
fn default() -> SemaphoreTypeCreateInfo
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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