[−][src]Struct embedded_sdmmc::Attributes
Indicates whether a directory entry is read-only, a directory, a volume label, etc.
Methods
impl Attributes
[src]
pub const READ_ONLY: u8
[src]
Indicates this file cannot be written.
pub const HIDDEN: u8
[src]
Indicates the file is hidden.
pub const SYSTEM: u8
[src]
Indicates this is a system file.
pub const VOLUME: u8
[src]
Indicates this is a volume label.
pub const DIRECTORY: u8
[src]
Indicates this is a directory.
pub const ARCHIVE: u8
[src]
Indicates this file needs archiving (i.e. has been modified since last archived).
pub const LFN: u8
[src]
This set of flags indicates the file is actually a long file name fragment.
pub fn is_read_only(self) -> bool
[src]
Does this file has the read-only attribute set?
[src]
Does this file has the hidden attribute set?
pub fn is_system(self) -> bool
[src]
Does this file has the system attribute set?
pub fn is_volume(self) -> bool
[src]
Does this file has the volume attribute set?
pub fn is_directory(self) -> bool
[src]
Does this entry point at a directory?
pub fn is_archive(self) -> bool
[src]
Does this need archiving?
pub fn is_lfn(self) -> bool
[src]
Is this a long file name fragment?
Trait Implementations
impl Clone for Attributes
[src]
fn clone(&self) -> Attributes
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Attributes
[src]
impl Debug for Attributes
[src]
impl Eq for Attributes
[src]
impl Ord for Attributes
[src]
fn cmp(&self, other: &Attributes) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Attributes> for Attributes
[src]
fn eq(&self, other: &Attributes) -> bool
[src]
fn ne(&self, other: &Attributes) -> bool
[src]
impl PartialOrd<Attributes> for Attributes
[src]
fn partial_cmp(&self, other: &Attributes) -> Option<Ordering>
[src]
fn lt(&self, other: &Attributes) -> bool
[src]
fn le(&self, other: &Attributes) -> bool
[src]
fn gt(&self, other: &Attributes) -> bool
[src]
fn ge(&self, other: &Attributes) -> bool
[src]
impl StructuralEq for Attributes
[src]
impl StructuralPartialEq for Attributes
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,