pub enum SectorSize {
Sz1K = 1,
Sz2K = 2,
Sz4K = 4,
}
Variants§
Trait Implementations§
Source§impl Clone for SectorSize
impl Clone for SectorSize
Source§fn clone(&self) -> SectorSize
fn clone(&self) -> SectorSize
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 moreSource§impl Debug for SectorSize
impl Debug for SectorSize
Source§impl Ord for SectorSize
impl Ord for SectorSize
Source§fn cmp(&self, other: &SectorSize) -> Ordering
fn cmp(&self, other: &SectorSize) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SectorSize
impl PartialEq for SectorSize
Source§impl PartialOrd for SectorSize
impl PartialOrd for SectorSize
impl Copy for SectorSize
impl Eq for SectorSize
impl StructuralPartialEq for SectorSize
Auto Trait Implementations§
impl Freeze for SectorSize
impl RefUnwindSafe for SectorSize
impl Send for SectorSize
impl Sync for SectorSize
impl Unpin for SectorSize
impl UnwindSafe for SectorSize
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