Struct qapi_qmp::InputBtnEvent
source · pub struct InputBtnEvent {
pub button: InputButton,
pub down: bool,
}
Fields§
§down: bool
Trait Implementations§
source§impl AsRef<InputBtnEvent> for InputBtnEventWrapper
impl AsRef<InputBtnEvent> for InputBtnEventWrapper
source§fn as_ref(&self) -> &InputBtnEvent
fn as_ref(&self) -> &InputBtnEvent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputBtnEvent
impl Clone for InputBtnEvent
source§fn clone(&self) -> InputBtnEvent
fn clone(&self) -> InputBtnEvent
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 InputBtnEvent
impl Debug for InputBtnEvent
source§impl<'de> Deserialize<'de> for InputBtnEvent
impl<'de> Deserialize<'de> for InputBtnEvent
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
source§impl From<InputBtnEvent> for InputEvent
impl From<InputBtnEvent> for InputEvent
source§fn from(val: InputBtnEvent) -> Self
fn from(val: InputBtnEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InputBtnEvent
impl RefUnwindSafe for InputBtnEvent
impl Send for InputBtnEvent
impl Sync for InputBtnEvent
impl Unpin for InputBtnEvent
impl UnwindSafe for InputBtnEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)