Struct qapi_qmp::QKeyCodeWrapper
source · #[repr(transparent)]pub struct QKeyCodeWrapper {
pub data: QKeyCode,
}
Fields§
§data: QKeyCode
Implementations§
source§impl QKeyCodeWrapper
impl QKeyCodeWrapper
pub fn into_inner(self) -> QKeyCode
Trait Implementations§
source§impl AsRef<QKeyCode> for QKeyCodeWrapper
impl AsRef<QKeyCode> for QKeyCodeWrapper
source§impl Clone for QKeyCodeWrapper
impl Clone for QKeyCodeWrapper
source§fn clone(&self) -> QKeyCodeWrapper
fn clone(&self) -> QKeyCodeWrapper
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 QKeyCodeWrapper
impl Debug for QKeyCodeWrapper
source§impl Deref for QKeyCodeWrapper
impl Deref for QKeyCodeWrapper
source§impl<'de> Deserialize<'de> for QKeyCodeWrapper
impl<'de> Deserialize<'de> for QKeyCodeWrapper
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<QKeyCodeWrapper> for KeyValue
impl From<QKeyCodeWrapper> for KeyValue
source§fn from(val: QKeyCodeWrapper) -> Self
fn from(val: QKeyCodeWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QKeyCodeWrapper
impl RefUnwindSafe for QKeyCodeWrapper
impl Send for QKeyCodeWrapper
impl Sync for QKeyCodeWrapper
impl Unpin for QKeyCodeWrapper
impl UnwindSafe for QKeyCodeWrapper
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
)