Struct tendril::fmt::WTF8
[−]
[src]
pub struct WTF8;
Marker type for WTF-8 text.
See the WTF-8 spec.
Trait Implementations
impl SubsetOf<WTF8> for UTF8
[src]
fn revalidate_subset(x: &[u8]) -> bool
[src]
Validate the other direction of conversion; check if this buffer from the superset format conforms to the subset format. Read more
impl Copy for WTF8
[src]
impl Clone for WTF8
[src]
fn clone(&self) -> WTF8
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for WTF8
[src]
impl Debug for WTF8
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Format for WTF8
[src]
fn validate(buf: &[u8]) -> bool
[src]
Check whether the buffer is valid for this format.
fn validate_prefix(buf: &[u8]) -> bool
[src]
Check whether the buffer is valid for this format. Read more
fn validate_suffix(buf: &[u8]) -> bool
[src]
Check whether the buffer is valid for this format. Read more
fn validate_subseq(buf: &[u8]) -> bool
[src]
Check whether the buffer is valid for this format. Read more
unsafe fn fixup(lhs: &[u8], rhs: &[u8]) -> Fixup
[src]
Compute any fixup needed when concatenating buffers. Read more