pub type SemaphoreTypeCreateInfoKHR<'a> = SemaphoreTypeCreateInfo<'a>;
Aliased Type§
struct SemaphoreTypeCreateInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub semaphore_type: SemaphoreType,
pub initial_value: u64,
pub _marker: PhantomData<&'a ()>,
}
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 more