pub enum Mark {
SentenceEnd,
OpenBracket,
CloseBracket,
Other,
}Expand description
What a character of a morpheme made of marks is, for the sentences of a
text: see marks.
Variants§
SentenceEnd
A mark that ends a sentence: 。, !, ?, ! or ?.
OpenBracket
An opening bracket, such as ( and 「.
CloseBracket
A closing bracket, such as ) and 」.
Other
Any other mark, such as ~, % and 、.
Trait Implementations§
impl Copy for Mark
impl Eq for Mark
impl StructuralPartialEq for Mark
Auto Trait Implementations§
impl Forget for Mark
impl Freeze for Mark
impl Move for Mark
impl RefUnwindSafe for Mark
impl Send for Mark
impl Sync for Mark
impl Unpin for Mark
impl UnsafeUnpin for Mark
impl UnwindSafe for Mark
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