#[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: StructureType§next: *mut c_void§current_state: f32§changed_since_last_sync: Bool32§last_change_time: Time§is_active: Bool32Implementations§
Source§impl 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§
Source§impl Clone for ActionStateFloat
impl Clone for ActionStateFloat
Source§fn clone(&self) -> ActionStateFloat
fn clone(&self) -> ActionStateFloat
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 ActionStateFloat
Auto Trait Implementations§
impl !Send for ActionStateFloat
impl !Sync for ActionStateFloat
impl Freeze for ActionStateFloat
impl RefUnwindSafe for ActionStateFloat
impl Unpin for ActionStateFloat
impl UnsafeUnpin for ActionStateFloat
impl UnwindSafe for ActionStateFloat
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