#[repr(C)]pub struct SemaphoreTypeCreateInfo {
pub s_type: StructureType,
pub next: *const c_void,
pub semaphore_type: SemaphoreType,
pub initial_value: u64,
}Expand description
Fields§
§s_type: StructureType§next: *const c_void§semaphore_type: SemaphoreType§initial_value: u64Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemaphoreTypeCreateInfo
Source§impl Debug for SemaphoreTypeCreateInfo
impl Debug for SemaphoreTypeCreateInfo
Source§impl Default for SemaphoreTypeCreateInfo
impl Default for SemaphoreTypeCreateInfo
impl Eq for SemaphoreTypeCreateInfo
Source§impl Hash for SemaphoreTypeCreateInfo
impl Hash for SemaphoreTypeCreateInfo
Source§impl PartialEq for SemaphoreTypeCreateInfo
impl PartialEq for SemaphoreTypeCreateInfo
Source§fn eq(&self, other: &SemaphoreTypeCreateInfo) -> bool
fn eq(&self, other: &SemaphoreTypeCreateInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Send for SemaphoreTypeCreateInfo
impl StructuralPartialEq for SemaphoreTypeCreateInfo
impl Sync for SemaphoreTypeCreateInfo
Auto Trait Implementations§
impl Freeze for SemaphoreTypeCreateInfo
impl RefUnwindSafe 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