Struct ropey::segmentation::NullSegmenter
[−]
[src]
pub struct NullSegmenter {}
Grapheme segmenter that ignores graphemes completely and treats each code point as an individual segment.
Trait Implementations
impl Debug for NullSegmenter
[src]
impl Copy for NullSegmenter
[src]
impl Clone for NullSegmenter
[src]
fn clone(&self) -> NullSegmenter
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl GraphemeSegmenter for NullSegmenter
[src]
fn is_break(_byte_idx: usize, _text: &str) -> bool
[src]
Returns whether the given byte index in the given string is a grapheme cluster boundary. Read more
fn seam_is_break(_left: &str, _right: &str) -> bool
[src]
Returns true if the boundary between the two given strings is a grapheme cluster boundary, and false otherwise. Read more