[−][src]Struct tendril::fmt::UTF8
Marker type for UTF-8 text.
Trait Implementations
impl<'a> CharFormat<'a> for UTF8
[src]
type Iter = CharIndices<'a>
Iterator for characters and their byte indices.
pub unsafe fn char_indices(buf: &'a [u8]) -> CharIndices<'a>
[src]
pub fn encode_char<F>(ch: char, cont: F) -> Result<(), ()> where
F: FnOnce(&[u8]),
[src]
F: FnOnce(&[u8]),
impl Clone for UTF8
[src]
impl Copy for UTF8
[src]
impl Debug for UTF8
[src]
impl Default for UTF8
[src]
impl Format for UTF8
[src]
pub fn validate(buf: &[u8]) -> bool
[src]
pub fn validate_prefix(buf: &[u8]) -> bool
[src]
pub fn validate_suffix(buf: &[u8]) -> bool
[src]
pub fn validate_subseq(buf: &[u8]) -> bool
[src]
pub unsafe fn fixup(_lhs: &[u8], _rhs: &[u8]) -> Fixup
[src]
impl SliceExt<UTF8> for str
[src]
pub fn to_tendril(&self) -> Tendril<F>ⓘ
[src]
impl SliceFormat for UTF8
[src]
impl SubsetOf<UTF8> for ASCII
[src]
impl SubsetOf<WTF8> for UTF8
[src]
Auto Trait Implementations
impl RefUnwindSafe for UTF8
[src]
impl Send for UTF8
[src]
impl Sync for UTF8
[src]
impl Unpin for UTF8
[src]
impl UnwindSafe for UTF8
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> 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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,