Struct openxr_sys::ActionStateFloat
source · [−]#[repr(C)]pub struct ActionStateFloat {
pub ty: StructureType,
pub next: *mut c_void,
pub current_state: f32,
pub changed_since_last_sync: Bool32,
pub last_change_time: Time,
pub is_active: Bool32,
}Expand description
Fields
ty: StructureTypenext: *mut c_voidcurrent_state: f32changed_since_last_sync: Bool32last_change_time: Timeis_active: Bool32Implementations
sourceimpl ActionStateFloat
impl ActionStateFloat
pub const TYPE: StructureType = StructureType::ACTION_STATE_FLOAT
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 ActionStateFloat
impl Clone for ActionStateFloat
sourcefn clone(&self) -> ActionStateFloat
fn clone(&self) -> ActionStateFloat
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 ActionStateFloat
impl Debug for ActionStateFloat
impl Copy for ActionStateFloat
Auto Trait Implementations
impl RefUnwindSafe for ActionStateFloat
impl !Send for ActionStateFloat
impl !Sync for ActionStateFloat
impl Unpin for ActionStateFloat
impl UnwindSafe for ActionStateFloat
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