#[repr(i64)]pub enum NLTokenUnit {
Word = 0,
Sentence = 1,
Paragraph = 2,
Document = 3,
}Expand description
Constants representing linguistic units.
Variants§
Word = 0
An individual word.
Sentence = 1
An individual sentence.
Paragraph = 2
An individual paragraph.
Document = 3
The document in its entirety.
Trait Implementations§
Source§impl Clone for NLTokenUnit
impl Clone for NLTokenUnit
Source§fn clone(&self) -> NLTokenUnit
fn clone(&self) -> NLTokenUnit
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 moreimpl Copy for NLTokenUnit
Source§impl Debug for NLTokenUnit
impl Debug for NLTokenUnit
impl Eq for NLTokenUnit
Source§impl PartialEq for NLTokenUnit
impl PartialEq for NLTokenUnit
impl StructuralPartialEq for NLTokenUnit
Auto Trait Implementations§
impl Freeze for NLTokenUnit
impl RefUnwindSafe for NLTokenUnit
impl Send for NLTokenUnit
impl Sync for NLTokenUnit
impl Unpin for NLTokenUnit
impl UnsafeUnpin for NLTokenUnit
impl UnwindSafe for NLTokenUnit
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