Struct ash::vk::definitions::SemaphoreWaitInfo
source · #[repr(C)]pub struct SemaphoreWaitInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SemaphoreWaitFlags,
pub semaphore_count: u32,
pub p_semaphores: *const Semaphore,
pub p_values: *const u64,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: SemaphoreWaitFlags
§semaphore_count: u32
§p_semaphores: *const Semaphore
§p_values: *const u64
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SemaphoreWaitInfo<'a>
impl<'a> SemaphoreWaitInfo<'a>
pub fn flags(self, flags: SemaphoreWaitFlags) -> Self
pub fn semaphores(self, semaphores: &'a [Semaphore]) -> Self
pub fn values(self, values: &'a [u64]) -> Self
Trait Implementations§
source§impl<'a> Clone for SemaphoreWaitInfo<'a>
impl<'a> Clone for SemaphoreWaitInfo<'a>
source§fn clone(&self) -> SemaphoreWaitInfo<'a>
fn clone(&self) -> SemaphoreWaitInfo<'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 SemaphoreWaitInfo<'a>
impl<'a> Debug for SemaphoreWaitInfo<'a>
source§impl Default for SemaphoreWaitInfo<'_>
impl Default for SemaphoreWaitInfo<'_>
source§impl<'a> TaggedStructure for SemaphoreWaitInfo<'a>
impl<'a> TaggedStructure for SemaphoreWaitInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SEMAPHORE_WAIT_INFO
impl<'a> Copy for SemaphoreWaitInfo<'a>
impl Send for SemaphoreWaitInfo<'_>
impl Sync for SemaphoreWaitInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreWaitInfo<'a>
impl<'a> RefUnwindSafe for SemaphoreWaitInfo<'a>
impl<'a> Unpin for SemaphoreWaitInfo<'a>
impl<'a> UnwindSafe for SemaphoreWaitInfo<'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