pub enum BoundaryConstraintType {
Any,
Token,
InsideToken,
}Expand description
Boundary constraint type for MeCab analysis.
Variants§
Any
The token boundary is not specified.
Token
The position is a strong token boundary.
InsideToken
The position is not a token boundary.
Implementations§
Trait Implementations§
Source§impl Clone for BoundaryConstraintType
impl Clone for BoundaryConstraintType
Source§fn clone(&self) -> BoundaryConstraintType
fn clone(&self) -> BoundaryConstraintType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoundaryConstraintType
impl Debug for BoundaryConstraintType
Source§impl Hash for BoundaryConstraintType
impl Hash for BoundaryConstraintType
Source§impl Ord for BoundaryConstraintType
impl Ord for BoundaryConstraintType
Source§fn cmp(&self, other: &BoundaryConstraintType) -> Ordering
fn cmp(&self, other: &BoundaryConstraintType) -> Ordering
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
Source§impl PartialEq for BoundaryConstraintType
impl PartialEq for BoundaryConstraintType
Source§fn eq(&self, other: &BoundaryConstraintType) -> bool
fn eq(&self, other: &BoundaryConstraintType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BoundaryConstraintType
impl PartialOrd for BoundaryConstraintType
impl Copy for BoundaryConstraintType
impl Eq for BoundaryConstraintType
impl StructuralPartialEq for BoundaryConstraintType
Auto Trait Implementations§
impl Freeze for BoundaryConstraintType
impl RefUnwindSafe for BoundaryConstraintType
impl Send for BoundaryConstraintType
impl Sync for BoundaryConstraintType
impl Unpin for BoundaryConstraintType
impl UnsafeUnpin for BoundaryConstraintType
impl UnwindSafe for BoundaryConstraintType
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