pub struct AsciiCompatibleEncoding(/* private fields */);
Expand description
This is an encoding known to be ASCII-compatible.
Non-ASCII-compatible encodings (UTF-16LE
, UTF-16BE
, ISO-2022-JP
and
replacement
) are not supported by lol_html.
Implementations§
Trait Implementations§
source§impl Clone for AsciiCompatibleEncoding
impl Clone for AsciiCompatibleEncoding
source§fn clone(&self) -> AsciiCompatibleEncoding
fn clone(&self) -> AsciiCompatibleEncoding
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 AsciiCompatibleEncoding
impl Debug for AsciiCompatibleEncoding
source§impl From<AsciiCompatibleEncoding> for &'static Encoding
impl From<AsciiCompatibleEncoding> for &'static Encoding
source§fn from(ascii_enc: AsciiCompatibleEncoding) -> &'static Encoding
fn from(ascii_enc: AsciiCompatibleEncoding) -> &'static Encoding
Converts to this type from the input type.
source§impl PartialEq for AsciiCompatibleEncoding
impl PartialEq for AsciiCompatibleEncoding
source§impl TryFrom<&'static Encoding> for AsciiCompatibleEncoding
impl TryFrom<&'static Encoding> for AsciiCompatibleEncoding
impl Copy for AsciiCompatibleEncoding
impl Eq for AsciiCompatibleEncoding
impl StructuralPartialEq for AsciiCompatibleEncoding
Auto Trait Implementations§
impl Freeze for AsciiCompatibleEncoding
impl RefUnwindSafe for AsciiCompatibleEncoding
impl Send for AsciiCompatibleEncoding
impl Sync for AsciiCompatibleEncoding
impl Unpin for AsciiCompatibleEncoding
impl UnwindSafe for AsciiCompatibleEncoding
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
)