pub enum InputActionOrAxisRef {
None,
Action(InputActionRef),
Axis(InputAxisRef),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InputActionOrAxisRef
impl Clone for InputActionOrAxisRef
Source§fn clone(&self) -> InputActionOrAxisRef
fn clone(&self) -> InputActionOrAxisRef
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 InputActionOrAxisRef
impl Debug for InputActionOrAxisRef
Source§impl Default for InputActionOrAxisRef
impl Default for InputActionOrAxisRef
Source§fn default() -> InputActionOrAxisRef
fn default() -> InputActionOrAxisRef
Returns the “default value” for a type. Read more
Source§impl From<InputRef<InputAction>> for InputActionOrAxisRef
impl From<InputRef<InputAction>> for InputActionOrAxisRef
Source§fn from(value: InputActionRef) -> Self
fn from(value: InputActionRef) -> Self
Converts to this type from the input type.
Source§impl From<InputRef<InputAxis>> for InputActionOrAxisRef
impl From<InputRef<InputAxis>> for InputActionOrAxisRef
Source§fn from(value: InputAxisRef) -> Self
fn from(value: InputAxisRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InputActionOrAxisRef
impl RefUnwindSafe for InputActionOrAxisRef
impl Send for InputActionOrAxisRef
impl Sync for InputActionOrAxisRef
impl Unpin for InputActionOrAxisRef
impl UnwindSafe for InputActionOrAxisRef
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