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