Struct qapi_qmp::VirtioMEMDeviceInfoWrapper
source · [−]#[repr(transparent)]pub struct VirtioMEMDeviceInfoWrapper {
pub data: VirtioMEMDeviceInfo,
}Fields
data: VirtioMEMDeviceInfoImplementations
sourceimpl VirtioMEMDeviceInfoWrapper
impl VirtioMEMDeviceInfoWrapper
pub fn into_inner(self) -> VirtioMEMDeviceInfo
Trait Implementations
sourceimpl AsRef<VirtioMEMDeviceInfo> for VirtioMEMDeviceInfoWrapper
impl AsRef<VirtioMEMDeviceInfo> for VirtioMEMDeviceInfoWrapper
sourcefn as_ref(&self) -> &VirtioMEMDeviceInfo
fn as_ref(&self) -> &VirtioMEMDeviceInfo
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for VirtioMEMDeviceInfoWrapper
impl Clone for VirtioMEMDeviceInfoWrapper
sourcefn clone(&self) -> VirtioMEMDeviceInfoWrapper
fn clone(&self) -> VirtioMEMDeviceInfoWrapper
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 VirtioMEMDeviceInfoWrapper
impl Debug for VirtioMEMDeviceInfoWrapper
sourceimpl Deref for VirtioMEMDeviceInfoWrapper
impl Deref for VirtioMEMDeviceInfoWrapper
type Target = VirtioMEMDeviceInfo
type Target = VirtioMEMDeviceInfo
The resulting type after dereferencing.
sourceimpl<'de> Deserialize<'de> for VirtioMEMDeviceInfoWrapper
impl<'de> Deserialize<'de> for VirtioMEMDeviceInfoWrapper
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<T: Into<VirtioMEMDeviceInfo>> From<T> for VirtioMEMDeviceInfoWrapper
impl<T: Into<VirtioMEMDeviceInfo>> From<T> for VirtioMEMDeviceInfoWrapper
sourceimpl From<VirtioMEMDeviceInfoWrapper> for MemoryDeviceInfo
impl From<VirtioMEMDeviceInfoWrapper> for MemoryDeviceInfo
sourcefn from(val: VirtioMEMDeviceInfoWrapper) -> Self
fn from(val: VirtioMEMDeviceInfoWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for VirtioMEMDeviceInfoWrapper
impl Send for VirtioMEMDeviceInfoWrapper
impl Sync for VirtioMEMDeviceInfoWrapper
impl Unpin for VirtioMEMDeviceInfoWrapper
impl UnwindSafe for VirtioMEMDeviceInfoWrapper
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