[−]Struct xml5ever::tendril::fmt::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(&self) -> 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
fn validate(&[u8]) -> bool
fn validate_prefix(&[u8]) -> bool
fn validate_suffix(&[u8]) -> bool
fn validate_subseq(&[u8]) -> bool
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.
ⓘImportant traits for SingleByteCharIndices<'a>unsafe fn char_indices(buf: &'a [u8]) -> SingleByteCharIndices<'a>
ⓘImportant traits for SingleByteCharIndices<'a>
fn encode_char<F>(ch: char, cont: F) -> Result<(), ()> where
F: FnOnce(&[u8]),
F: FnOnce(&[u8]),
impl Debug for Latin1
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,