pub enum Char {}Expand description
Segments UTF-8 data based solely on character code points.
Trait Implementations§
Source§impl Segmentation for Char
impl Segmentation for Char
Source§type Graphemes<'a> = Graphemes<'a>
type Graphemes<'a> = Graphemes<'a>
The kind of iterator to use for segmentation where you only need the
individual “graphemes” (or grapheme-equivalents).
Source§type GraphemeIndices<'a> = GraphemeIndices<'a>
type GraphemeIndices<'a> = GraphemeIndices<'a>
Same as
Graphemes, except that it additionally will contain byte
offset information ((usize, &str)).Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnsafeUnpin for Char
impl UnwindSafe for Char
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more