Struct tendril::fmt::UTF8
[−]
[src]
pub struct UTF8;
Marker type for UTF-8 text.
pub struct UTF8;
Marker type for UTF-8 text.
impl Format for UTF8
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
impl SubsetOf<WTF8> for UTF8
fn revalidate_subset(x: &[u8]) -> bool
impl SliceFormat for UTF8
type Slice = str
impl<'a> CharFormat<'a> for UTF8
type Iter = CharIndices<'a>
unsafe fn char_indices(buf: &'a [u8]) -> CharIndices<'a>
fn encode_char<F>(ch: char, cont: F) -> Result<(), ()> where F: FnOnce(&[u8])
impl Debug for UTF8
impl Default for UTF8
impl Clone for UTF8
fn clone(&self) -> UTF8
fn clone_from(&mut self, source: &Self)
impl Copy for UTF8
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, type
, macro
,
and const
.
Search functions by type signature (e.g.
vec -> usize
)