Struct dir_structure::FileString
source · pub struct FileString(pub String);Expand description
A newtype around a String.
Tuple Fields§
§0: StringImplementations§
source§impl FileString
impl FileString
Trait Implementations§
source§impl Clone for FileString
impl Clone for FileString
source§fn clone(&self) -> FileString
fn clone(&self) -> FileString
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 FileString
impl Debug for FileString
source§impl From<FileString> for String
impl From<FileString> for String
source§fn from(value: FileString) -> Self
fn from(value: FileString) -> Self
Converts to this type from the input type.
source§impl<'a> FromRefForWriter<'a> for FileString
impl<'a> FromRefForWriter<'a> for FileString
source§impl Hash for FileString
impl Hash for FileString
source§impl NewtypeToInner for FileString
impl NewtypeToInner for FileString
source§impl Ord for FileString
impl Ord for FileString
source§fn cmp(&self, other: &FileString) -> Ordering
fn cmp(&self, other: &FileString) -> 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 FileString
impl PartialEq for FileString
source§fn eq(&self, other: &FileString) -> bool
fn eq(&self, other: &FileString) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for FileString
impl PartialOrd for FileString
source§fn partial_cmp(&self, other: &FileString) -> Option<Ordering>
fn partial_cmp(&self, other: &FileString) -> 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 moresource§impl ReadFrom for FileString
impl ReadFrom for FileString
source§impl WriteTo for FileString
impl WriteTo for FileString
impl Eq for FileString
impl StructuralEq for FileString
impl StructuralPartialEq for FileString
Auto Trait Implementations§
impl RefUnwindSafe for FileString
impl Send for FileString
impl Sync for FileString
impl Unpin for FileString
impl UnwindSafe for FileString
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