Struct openxr::ActionState
source · pub struct ActionState<T: ActionInput> {
pub current_state: T,
pub changed_since_last_sync: bool,
pub last_change_time: Time,
pub is_active: bool,
}
Fields§
§current_state: T
§changed_since_last_sync: bool
§last_change_time: Time
§is_active: bool
Trait Implementations§
source§impl<T: Clone + ActionInput> Clone for ActionState<T>
impl<T: Clone + ActionInput> Clone for ActionState<T>
source§fn clone(&self) -> ActionState<T>
fn clone(&self) -> ActionState<T>
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<T: Debug + ActionInput> Debug for ActionState<T>
impl<T: Debug + ActionInput> Debug for ActionState<T>
impl<T: Copy + ActionInput> Copy for ActionState<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ActionState<T>where
T: RefUnwindSafe,
impl<T> Send for ActionState<T>where
T: Send,
impl<T> Sync for ActionState<T>where
T: Sync,
impl<T> Unpin for ActionState<T>where
T: Unpin,
impl<T> UnwindSafe for ActionState<T>where
T: UnwindSafe,
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