Struct nlprule::types::IncompleteToken[][src]

pub struct IncompleteToken<'t> {
    pub word: Word<'t>,
    pub byte_span: (usize, usize),
    pub char_span: (usize, usize),
    pub is_sentence_end: bool,
    pub has_space_before: bool,
    pub chunks: Vec<String>,
    pub multiword_data: Option<WordData<'t>>,
    pub sentence: &'t str,
    pub tagger: &'t Tagger,
}

A token where varying levels of information are set.

Fields

word: Word<'t>byte_span: (usize, usize)char_span: (usize, usize)is_sentence_end: boolhas_space_before: boolchunks: Vec<String>multiword_data: Option<WordData<'t>>sentence: &'t strtagger: &'t Tagger

Trait Implementations

impl<'t> Clone for IncompleteToken<'t>[src]

impl<'t> Debug for IncompleteToken<'t>[src]

impl<'t> From<IncompleteToken<'t>> for Token<'t>[src]

impl<'t> PartialEq<IncompleteToken<'t>> for IncompleteToken<'t>[src]

Auto Trait Implementations

impl<'t> !RefUnwindSafe for IncompleteToken<'t>[src]

impl<'t> Send for IncompleteToken<'t>[src]

impl<'t> Sync for IncompleteToken<'t>[src]

impl<'t> Unpin for IncompleteToken<'t>[src]

impl<'t> !UnwindSafe for IncompleteToken<'t>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.