Struct ash::vk::SemaphoreTypeCreateInfo
source · #[repr(C)]pub struct SemaphoreTypeCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub semaphore_type: SemaphoreType,
pub initial_value: u64,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§semaphore_type: SemaphoreType
§initial_value: u64
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SemaphoreTypeCreateInfo<'a>
impl<'a> SemaphoreTypeCreateInfo<'a>
pub fn semaphore_type(self, semaphore_type: SemaphoreType) -> Self
pub fn initial_value(self, initial_value: u64) -> Self
Trait Implementations§
source§impl<'a> Clone for SemaphoreTypeCreateInfo<'a>
impl<'a> Clone for SemaphoreTypeCreateInfo<'a>
source§fn clone(&self) -> SemaphoreTypeCreateInfo<'a>
fn clone(&self) -> SemaphoreTypeCreateInfo<'a>
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<'a> Debug for SemaphoreTypeCreateInfo<'a>
impl<'a> Debug for SemaphoreTypeCreateInfo<'a>
source§impl Default for SemaphoreTypeCreateInfo<'_>
impl Default for SemaphoreTypeCreateInfo<'_>
source§impl<'a> TaggedStructure for SemaphoreTypeCreateInfo<'a>
impl<'a> TaggedStructure for SemaphoreTypeCreateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SEMAPHORE_TYPE_CREATE_INFO
impl<'a> Copy for SemaphoreTypeCreateInfo<'a>
impl ExtendsPhysicalDeviceExternalSemaphoreInfo for SemaphoreTypeCreateInfo<'_>
impl ExtendsSemaphoreCreateInfo for SemaphoreTypeCreateInfo<'_>
impl Send for SemaphoreTypeCreateInfo<'_>
impl Sync for SemaphoreTypeCreateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreTypeCreateInfo<'a>
impl<'a> RefUnwindSafe for SemaphoreTypeCreateInfo<'a>
impl<'a> Unpin for SemaphoreTypeCreateInfo<'a>
impl<'a> UnwindSafe for SemaphoreTypeCreateInfo<'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