pub struct StorageDevice {
pub name: String,
pub capacity: usize,
pub partitions: Vec<Partition>,
pub read_only: bool,
}Fields§
§name: String§capacity: usize§partitions: Vec<Partition>§read_only: boolTrait Implementations§
Source§impl Clone for StorageDevice
impl Clone for StorageDevice
Source§fn clone(&self) -> StorageDevice
fn clone(&self) -> StorageDevice
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StorageDevice
impl RefUnwindSafe for StorageDevice
impl Send for StorageDevice
impl Sync for StorageDevice
impl Unpin for StorageDevice
impl UnwindSafe for StorageDevice
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