#[repr(transparent)]pub struct RamDiskType(pub Guid);Expand description
RAM disk type.
Tuple Fields§
§0: GuidImplementations§
Source§impl RamDiskType
impl RamDiskType
Sourcepub const VIRTUAL_DISK: RamDiskType
pub const VIRTUAL_DISK: RamDiskType
RAM disk with a raw disk format in volatile memory.
Sourcepub const VIRTUAL_CD: RamDiskType
pub const VIRTUAL_CD: RamDiskType
RAM disk of an ISO image in volatile memory.
Sourcepub const PERSISTENT_VIRTUAL_DISK: RamDiskType
pub const PERSISTENT_VIRTUAL_DISK: RamDiskType
RAM disk with a raw disk format in persistent memory.
Sourcepub const PERSISTENT_VIRTUAL_CD: RamDiskType
pub const PERSISTENT_VIRTUAL_CD: RamDiskType
RAM disk of an ISO image in persistent memory.
Trait Implementations§
Source§impl Clone for RamDiskType
impl Clone for RamDiskType
Source§fn clone(&self) -> RamDiskType
fn clone(&self) -> RamDiskType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RamDiskType
Source§impl Debug for RamDiskType
impl Debug for RamDiskType
impl Eq for RamDiskType
Source§impl Hash for RamDiskType
impl Hash for RamDiskType
Source§impl Ord for RamDiskType
impl Ord for RamDiskType
Source§fn cmp(&self, other: &RamDiskType) -> Ordering
fn cmp(&self, other: &RamDiskType) -> Ordering
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RamDiskType
impl PartialEq for RamDiskType
Source§impl PartialOrd for RamDiskType
impl PartialOrd for RamDiskType
impl StructuralPartialEq for RamDiskType
Auto Trait Implementations§
impl Freeze for RamDiskType
impl RefUnwindSafe for RamDiskType
impl Send for RamDiskType
impl Sync for RamDiskType
impl Unpin for RamDiskType
impl UnsafeUnpin for RamDiskType
impl UnwindSafe for RamDiskType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)