Struct qapi_qmp::InputMoveEvent
source · 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 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 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 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