Struct rust_jieba::Token
[−]
[src]
pub struct Token(pub String, pub usize, pub usize);
Token
Methods
impl Token
[src]
fn word(&self) -> &str
[src]
Word of the token
fn start(&self) -> usize
[src]
Unicode start position of the token
fn end(&self) -> usize
[src]
Unicode end position of the token
Trait Implementations
impl Debug for Token
[src]
impl Clone for Token
[src]
fn clone(&self) -> Token
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more