enum DirEntryName {
Short([u8; 11]),
Long(String<255>),
}Variants§
Implementations§
Source§impl DirEntryName
impl DirEntryName
fn display_name(&self) -> ShortNameDisplay
fn matches_short(&self, upper_name: &[u8; 11]) -> bool
fn as_lfn_str(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for DirEntryName
impl Clone for DirEntryName
Source§fn clone(&self) -> DirEntryName
fn clone(&self) -> DirEntryName
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 moreAuto Trait Implementations§
impl Freeze for DirEntryName
impl RefUnwindSafe for DirEntryName
impl Send for DirEntryName
impl Sync for DirEntryName
impl Unpin for DirEntryName
impl UnsafeUnpin for DirEntryName
impl UnwindSafe for DirEntryName
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more