Struct qapi_qmp::QKeyCodeWrapper
source · [−]#[repr(transparent)]pub struct QKeyCodeWrapper {
pub data: QKeyCode,
}Fields
data: QKeyCodeImplementations
sourceimpl QKeyCodeWrapper
impl QKeyCodeWrapper
pub fn into_inner(self) -> QKeyCode
Trait Implementations
sourceimpl AsRef<QKeyCode> for QKeyCodeWrapper
impl AsRef<QKeyCode> for QKeyCodeWrapper
sourceimpl Clone for QKeyCodeWrapper
impl Clone for QKeyCodeWrapper
sourcefn clone(&self) -> QKeyCodeWrapper
fn clone(&self) -> QKeyCodeWrapper
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for QKeyCodeWrapper
impl Debug for QKeyCodeWrapper
sourceimpl Deref for QKeyCodeWrapper
impl Deref for QKeyCodeWrapper
sourceimpl<'de> Deserialize<'de> for QKeyCodeWrapper
impl<'de> Deserialize<'de> for QKeyCodeWrapper
sourcefn 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
sourceimpl From<QKeyCodeWrapper> for KeyValue
impl From<QKeyCodeWrapper> for KeyValue
sourcefn from(val: QKeyCodeWrapper) -> Self
fn from(val: QKeyCodeWrapper) -> Self
Converts to this type from the input type.
sourceimpl<T: Into<QKeyCode>> From<T> for QKeyCodeWrapper
impl<T: Into<QKeyCode>> From<T> for QKeyCodeWrapper
sourceimpl Serialize for QKeyCodeWrapper
impl Serialize for QKeyCodeWrapper
Auto Trait Implementations
impl RefUnwindSafe for QKeyCodeWrapper
impl Send for QKeyCodeWrapper
impl Sync for QKeyCodeWrapper
impl Unpin for QKeyCodeWrapper
impl UnwindSafe for QKeyCodeWrapper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more