pub struct Drive {
pub disk: Option<Disk>,
pub is_dvd: bool,
}Expand description
VM disk drive
Fields§
§disk: Option<Disk>Backing disk
is_dvd: boolWhether this is a DVD
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Drive
impl RefUnwindSafe for Drive
impl Send for Drive
impl Sync for Drive
impl Unpin for Drive
impl UnwindSafe for Drive
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