pub struct Partition(/* private fields */);
Implementations§
Source§impl Partition
impl Partition
Sourcepub fn mount_point(&self) -> &Path
pub fn mount_point(&self) -> &Path
Returns partition mount point path.
Sourcepub fn file_system(&self) -> &FileSystem
pub fn file_system(&self) -> &FileSystem
Returns partition file system.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Partition
impl RefUnwindSafe for Partition
impl Send for Partition
impl Sync for Partition
impl Unpin for Partition
impl UnwindSafe for Partition
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