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

pub struct WTF8;

Marker type for WTF-8 text.

See the WTF-8 spec.

Trait Implementations

impl Format for WTF8

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

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

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

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

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

Derived Implementations

impl Debug for WTF8

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

impl Default for WTF8

fn default() -> WTF8

impl Clone for WTF8

fn clone(&self) -> WTF8

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

impl Copy for WTF8