pub struct Utf8WindowsEncoding;
Expand description
Represents a Windows-specific Utf8Encoding
Trait Implementations§
Source§impl Clone for Utf8WindowsEncoding
impl Clone for Utf8WindowsEncoding
Source§fn clone(&self) -> Utf8WindowsEncoding
fn clone(&self) -> Utf8WindowsEncoding
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 Utf8WindowsEncoding
impl Debug for Utf8WindowsEncoding
Source§impl Display for Utf8WindowsEncoding
impl Display for Utf8WindowsEncoding
Source§impl Utf8Encoding for Utf8WindowsEncoding
impl Utf8Encoding for Utf8WindowsEncoding
Source§type Components<'a> = Utf8WindowsComponents<'a>
type Components<'a> = Utf8WindowsComponents<'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 Utf8WindowsEncoding
Auto Trait Implementations§
impl Freeze for Utf8WindowsEncoding
impl RefUnwindSafe for Utf8WindowsEncoding
impl Send for Utf8WindowsEncoding
impl Sync for Utf8WindowsEncoding
impl Unpin for Utf8WindowsEncoding
impl UnwindSafe for Utf8WindowsEncoding
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