Struct jieba_rs::Token [] [src]

pub struct Token<'a> {
    pub word: &'a str,
    pub start: usize,
    pub end: usize,
}

A Token

Fields

Word of the token

Unicode start position of the token

Unicode end position of the token

Trait Implementations

impl<'a> Debug for Token<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for Token<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Token<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Eq for Token<'a>
[src]

impl<'a> Hash for Token<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<'a> Send for Token<'a>

impl<'a> Sync for Token<'a>