Enum stm32f1xx_hal::flash::SectorSize
source · pub enum SectorSize {
Sz1K,
Sz2K,
Sz4K,
}
Variants§
Trait Implementations§
source§impl Clone for SectorSize
impl Clone for SectorSize
source§fn clone(&self) -> SectorSize
fn clone(&self) -> SectorSize
Returns a copy 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<SectorSize> for SectorSize
impl PartialEq<SectorSize> for SectorSize
source§fn eq(&self, other: &SectorSize) -> bool
fn eq(&self, other: &SectorSize) -> bool
source§impl PartialOrd<SectorSize> for SectorSize
impl PartialOrd<SectorSize> for SectorSize
source§fn partial_cmp(&self, other: &SectorSize) -> Option<Ordering>
fn partial_cmp(&self, other: &SectorSize) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more