Struct embedded_sdmmc::RawVolume
source · pub struct RawVolume(/* private fields */);
Expand description
Represents a partition with a filesystem within it.
Implementations§
source§impl RawVolume
impl RawVolume
sourcepub fn to_volume<D, T, const MAX_DIRS: usize, const MAX_FILES: usize, const MAX_VOLUMES: usize>(
self,
volume_mgr: &mut VolumeManager<D, T, MAX_DIRS, MAX_FILES, MAX_VOLUMES>
) -> Volume<'_, D, T, MAX_DIRS, MAX_FILES, MAX_VOLUMES>where
D: BlockDevice,
T: TimeSource,
pub fn to_volume<D, T, const MAX_DIRS: usize, const MAX_FILES: usize, const MAX_VOLUMES: usize>(
self,
volume_mgr: &mut VolumeManager<D, T, MAX_DIRS, MAX_FILES, MAX_VOLUMES>
) -> Volume<'_, D, T, MAX_DIRS, MAX_FILES, MAX_VOLUMES>where
D: BlockDevice,
T: TimeSource,
Convert a raw volume into a droppable Volume
Trait Implementations§
source§impl PartialEq for RawVolume
impl PartialEq for RawVolume
impl Copy for RawVolume
impl Eq for RawVolume
impl StructuralPartialEq for RawVolume
Auto Trait Implementations§
impl RefUnwindSafe for RawVolume
impl Send for RawVolume
impl Sync for RawVolume
impl Unpin for RawVolume
impl UnwindSafe for RawVolume
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