pub enum FatTypeSelection {
Auto,
Fat12,
Fat16,
Fat32,
}Expand description
FAT type selection for formatting.
Variants§
Auto
Automatically select based on volume size
Fat12
Force FAT12 (volumes < ~16 MB)
Fat16
Force FAT16 (volumes < ~2 GB)
Fat32
Force FAT32 (volumes >= ~32 MB)
Implementations§
Source§impl FatTypeSelection
impl FatTypeSelection
Sourcepub fn as_fat_type(self) -> Option<FatType>
pub fn as_fat_type(self) -> Option<FatType>
Convert to FatType if not Auto.
Trait Implementations§
Source§impl Clone for FatTypeSelection
impl Clone for FatTypeSelection
Source§fn clone(&self) -> FatTypeSelection
fn clone(&self) -> FatTypeSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FatTypeSelection
Source§impl Debug for FatTypeSelection
impl Debug for FatTypeSelection
Source§impl Default for FatTypeSelection
impl Default for FatTypeSelection
Source§fn default() -> FatTypeSelection
fn default() -> FatTypeSelection
Returns the “default value” for a type. Read more
impl Eq for FatTypeSelection
Source§impl From<FatType> for FatTypeSelection
impl From<FatType> for FatTypeSelection
Source§impl PartialEq for FatTypeSelection
impl PartialEq for FatTypeSelection
impl StructuralPartialEq for FatTypeSelection
Auto Trait Implementations§
impl Freeze for FatTypeSelection
impl RefUnwindSafe for FatTypeSelection
impl Send for FatTypeSelection
impl Sync for FatTypeSelection
impl Unpin for FatTypeSelection
impl UnsafeUnpin for FatTypeSelection
impl UnwindSafe for FatTypeSelection
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