[−]Struct html5ever::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<'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
impl SubsetOf<Latin1> for ASCII
fn revalidate_subset(x: &[u8]) -> bool
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
impl Clone for Latin1
fn clone(&self) -> Latin1
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for Latin1
impl Copy for Latin1
Auto Trait Implementations
impl Send for Latin1
impl Unpin for Latin1
impl Sync for Latin1
impl RefUnwindSafe for Latin1
impl UnwindSafe for Latin1
Blanket Implementations
impl<T, U> Into<U> 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<T> for T
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,