pub enum TokenType {
WesternLetter,
CjkChar,
HalfwidthPauseOrStop,
FullwidthPauseOrStop,
HalfwidthOtherPunctuation,
FullwidthOtherPunctuation,
Group,
BracketMark,
HyperMark,
CodeMark,
HyperContent,
UnmatchedMark,
}Expand description
Token Types
Variants§
WesternLetter
CjkChar
HalfwidthPauseOrStop
FullwidthPauseOrStop
HalfwidthOtherPunctuation
FullwidthOtherPunctuation
Group
BracketMark
HyperMark
CodeMark
HyperContent
UnmatchedMark
Trait Implementations§
impl Copy for TokenType
impl Eq for TokenType
impl StructuralPartialEq for TokenType
Source§impl TypeTrait for TokenType
impl TypeTrait for TokenType
fn is_letter(&self) -> bool
fn is_pause_or_stop(&self) -> bool
fn is_quotation(&self) -> bool
fn is_bracket(&self) -> bool
fn is_other_punctuation(&self) -> bool
fn is_single_punctuation(&self) -> bool
fn is_punctuation(&self) -> bool
fn is_halfwidth_punctuation(&self) -> bool
fn is_fullwidth_punctuation(&self) -> bool
fn is_halfwidth(&self) -> bool
fn is_fullwidth(&self) -> bool
fn is_normal_content(&self) -> bool
fn is_single(&self) -> bool
fn is_group(&self) -> bool
fn is_non_code_visible(&self) -> bool
fn is_visible(&self) -> bool
fn is_invisible(&self) -> bool
fn is_visibility_unknown(&self) -> bool
Auto Trait Implementations§
impl Freeze for TokenType
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnsafeUnpin for TokenType
impl UnwindSafe for TokenType
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