pub enum TextTag {
NATN,
PUNC,
SYMB,
SPACE,
WORD,
}
Expand description
Variants§
NATN
Natural number like 0
, 1200
, 0004
PUNC
English sentence punctuation symbols.
,
, .
, !
, ;
, :
, ?
, '
, "
SYMB
Any other symbol or emoji
SPACE
A combination of unicode whitespaces
WORD
A word as identified by unicode word recognition rules.
For example: yello
, Paris
, don't
, should've
Trait Implementations§
impl StructuralPartialEq for TextTag
Auto Trait Implementations§
impl Freeze for TextTag
impl RefUnwindSafe for TextTag
impl Send for TextTag
impl Sync for TextTag
impl Unpin for TextTag
impl UnwindSafe for TextTag
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