[]Struct xml5ever::tendril::fmt::Latin1

pub struct Latin1;

Marker type for the single-byte encoding of the first 256 Unicode codepoints.

This is IANA's "ISO-8859-1". It's ISO's "ISO 8859-1" with the addition of the C0 and C1 control characters from ECMA-48 / ISO 6429.

Not to be confused with WHATWG's "latin1" or "iso8859-1" labels (or the many other aliases), which actually stand for Windows-1252.

Trait Implementations

impl Clone for Latin1

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl SubsetOf<Latin1> for ASCII

fn revalidate_subset(x: &[u8]) -> bool

Validate the other direction of conversion; check if this buffer from the superset format conforms to the subset format. Read more

impl Format for Latin1

unsafe fn fixup(_lhs: &[u8], _rhs: &[u8]) -> Fixup

Compute any fixup needed when concatenating buffers. Read more

impl Default for Latin1

impl Copy for Latin1

impl<'a> CharFormat<'a> for Latin1

type Iter = SingleByteCharIndices<'a>

Iterator for characters and their byte indices.

impl Debug for Latin1

Auto Trait Implementations

impl Send for Latin1

impl Sync for Latin1

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.