pub(crate) enum Encoding<S> {
Ascii(Ascii<S>),
Unicode(Unicode<S>),
}
Variants§
Trait Implementations§
impl<S: Copy> Copy for Encoding<S>
Auto Trait Implementations§
impl<S> Freeze for Encoding<S>where
S: Freeze,
impl<S> RefUnwindSafe for Encoding<S>where
S: RefUnwindSafe,
impl<S> Send for Encoding<S>where
S: Send,
impl<S> Sync for Encoding<S>where
S: Sync,
impl<S> Unpin for Encoding<S>where
S: Unpin,
impl<S> UnwindSafe for Encoding<S>where
S: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)