pub struct Utf8UnixEncoding;
Expand description
Represents a Unix-specific Utf8Encoding
Trait Implementations§
Source§impl Clone for Utf8UnixEncoding
impl Clone for Utf8UnixEncoding
Source§fn clone(&self) -> Utf8UnixEncoding
fn clone(&self) -> Utf8UnixEncoding
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 Utf8UnixEncoding
impl Debug for Utf8UnixEncoding
Source§impl Display for Utf8UnixEncoding
impl Display for Utf8UnixEncoding
Source§impl Utf8Encoding for Utf8UnixEncoding
impl Utf8Encoding for Utf8UnixEncoding
Source§type Components<'a> = Utf8UnixComponents<'a>
type Components<'a> = Utf8UnixComponents<'a>
Represents the type of component that will be derived by this encoding
Source§fn components(path: &str) -> Self::Components<'_>
fn components(path: &str) -> Self::Components<'_>
Produces an iterator of
Utf8Component
s over the given the byte slice (path
)Source§fn push(current_path: &mut String, path: &str)
fn push(current_path: &mut String, path: &str)
Pushes a utf8 str (
path
) onto the an existing path (current_path
)Source§fn push_checked(
current_path: &mut String,
path: &str,
) -> Result<(), CheckedPathError>
fn push_checked( current_path: &mut String, path: &str, ) -> Result<(), CheckedPathError>
Like
Utf8Encoding::push
, but enforces several new rules: Read moreimpl Copy for Utf8UnixEncoding
Auto Trait Implementations§
impl Freeze for Utf8UnixEncoding
impl RefUnwindSafe for Utf8UnixEncoding
impl Send for Utf8UnixEncoding
impl Sync for Utf8UnixEncoding
impl Unpin for Utf8UnixEncoding
impl UnwindSafe for Utf8UnixEncoding
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