Struct tendril::fmt::WTF8 [] [src]

pub struct WTF8;

Marker type for WTF-8 text.

See the WTF-8 spec.

Trait Implementations

impl Debug for WTF8
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for WTF8
[src]

fn default() -> WTF8

Returns the "default value" for a type. Read more

impl Clone for WTF8
[src]

fn clone(&self) -> WTF8

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for WTF8
[src]

impl Format for WTF8
[src]

fn validate(buf: &[u8]) -> bool

Check whether the buffer is valid for this format.

fn validate_prefix(buf: &[u8]) -> bool

Check whether the buffer is valid for this format. Read more

fn validate_suffix(buf: &[u8]) -> bool

Check whether the buffer is valid for this format. Read more

fn validate_subseq(buf: &[u8]) -> bool

Check whether the buffer is valid for this format. Read more

unsafe fn fixup(lhs: &[u8], rhs: &[u8]) -> Fixup

Compute any fixup needed when concatenating buffers. Read more