pub struct Identity;Trait Implementations§
Source§impl Scheme for Identity
impl Scheme for Identity
type Name = OsString
type NameRef<'a> = &'a OsStr
fn name_to_string<'a>(&self, name: Self::NameRef<'a>) -> Cow<'a, str>
fn name_from_file_stem(&self, file_stem: &OsStr) -> Result<Self::Name, Error>
fn fixed_length() -> Option<usize>
fn cmp_prefix_part(&self, a: &OsStr, b: &OsStr) -> Result<Ordering, Error>
impl Copy for Identity
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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