#[repr(u16)]pub enum Segmenter {
IdentifierPreserving = 1,
}Expand description
Word segmentation strategy; an epoch-digest input.
Variants§
IdentifierPreserving = 1
Identifier-preserving segmentation with CJK bigram fallback.
Trait Implementations§
impl Copy for Segmenter
impl Eq for Segmenter
Source§impl Ord for Segmenter
impl Ord for Segmenter
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Segmenter
impl PartialOrd for Segmenter
impl StructuralPartialEq for Segmenter
Auto Trait Implementations§
impl Freeze for Segmenter
impl RefUnwindSafe for Segmenter
impl Send for Segmenter
impl Sync for Segmenter
impl Unpin for Segmenter
impl UnsafeUnpin for Segmenter
impl UnwindSafe for Segmenter
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