[−]Struct xml5ever::tendril::fmt::ASCII
Marker type for ASCII text.
Trait Implementations
impl Clone for ASCII
fn clone(&self) -> ASCII
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 SubsetOf<UTF8> 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 ASCII
fn validate(buf: &[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 ASCII
impl Copy for ASCII
impl<'a> CharFormat<'a> for ASCII
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 ASCII
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>,