Struct openxr_sys::ActionStateBoolean
source · [−]#[repr(C)]pub struct ActionStateBoolean {
pub ty: StructureType,
pub next: *mut c_void,
pub current_state: Bool32,
pub changed_since_last_sync: Bool32,
pub last_change_time: Time,
pub is_active: Bool32,
}Expand description
Fields
ty: StructureTypenext: *mut c_voidcurrent_state: Bool32changed_since_last_sync: Bool32last_change_time: Timeis_active: Bool32Implementations
sourceimpl ActionStateBoolean
impl ActionStateBoolean
pub const TYPE: StructureType = StructureType::ACTION_STATE_BOOLEAN
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations
sourceimpl Clone for ActionStateBoolean
impl Clone for ActionStateBoolean
sourcefn clone(&self) -> ActionStateBoolean
fn clone(&self) -> ActionStateBoolean
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ActionStateBoolean
impl Debug for ActionStateBoolean
impl Copy for ActionStateBoolean
Auto Trait Implementations
impl RefUnwindSafe for ActionStateBoolean
impl !Send for ActionStateBoolean
impl !Sync for ActionStateBoolean
impl Unpin for ActionStateBoolean
impl UnwindSafe for ActionStateBoolean
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more