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