Enum sdio_host::sd::CardCapacity
source · [−]#[non_exhaustive]
pub enum CardCapacity {
StandardCapacity,
HighCapacity,
}
Expand description
Types of SD Card
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StandardCapacity
SDSC / Standard Capacity (<= 2GB)
HighCapacity
SDHC / High capacity (<= 32GB for SD cards, <= 256GB for eMMC)
Trait Implementations
sourceimpl Clone for CardCapacity
impl Clone for CardCapacity
sourcefn clone(&self) -> CardCapacity
fn clone(&self) -> CardCapacity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CardCapacity
impl Debug for CardCapacity
sourceimpl Default for CardCapacity
impl Default for CardCapacity
impl Copy for CardCapacity
Auto Trait Implementations
impl RefUnwindSafe for CardCapacity
impl Send for CardCapacity
impl Sync for CardCapacity
impl Unpin for CardCapacity
impl UnwindSafe for CardCapacity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more