pub struct InputRef<T: Default + Clone>(/* private fields */);
Implementations§
Trait Implementations§
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<T> Freeze for InputRef<T>
impl<T> RefUnwindSafe for InputRef<T>
impl<T> Send for InputRef<T>
impl<T> Sync for InputRef<T>
impl<T> Unpin for InputRef<T>
impl<T> UnwindSafe for InputRef<T>
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