pub struct InputMoveEvent {
pub axis: InputAxis,
pub value: i64,
}
Fields§
§axis: InputAxis
§value: i64
Trait Implementations§
Source§impl AsRef<InputMoveEvent> for InputMoveEventWrapper
impl AsRef<InputMoveEvent> for InputMoveEventWrapper
Source§fn as_ref(&self) -> &InputMoveEvent
fn as_ref(&self) -> &InputMoveEvent
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InputMoveEvent
impl Clone for InputMoveEvent
Source§fn clone(&self) -> InputMoveEvent
fn clone(&self) -> InputMoveEvent
Returns a duplicate 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 InputMoveEvent
impl Debug for InputMoveEvent
Source§impl<'de> Deserialize<'de> for InputMoveEvent
impl<'de> Deserialize<'de> for InputMoveEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InputMoveEvent
impl RefUnwindSafe for InputMoveEvent
impl Send for InputMoveEvent
impl Sync for InputMoveEvent
impl Unpin for InputMoveEvent
impl UnwindSafe for InputMoveEvent
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