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: StructureType
§next: *mut c_void
§current_state: f32
§changed_since_last_sync: Bool32
§last_change_time: Time
§is_active: Bool32
Implementations§
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 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 moresource§impl Debug for ActionStateFloat
impl Debug for ActionStateFloat
impl Copy for ActionStateFloat
Auto Trait Implementations§
impl Freeze for ActionStateFloat
impl RefUnwindSafe for ActionStateFloat
impl !Send for ActionStateFloat
impl !Sync for ActionStateFloat
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)