[][src]Struct mecab::Node

pub struct Node {
    pub surface: String,
    pub feature: String,
    pub id: u32,
    pub length: u16,
    pub rlength: u16,
    pub rcattr: u16,
    pub lcattr: u16,
    pub posid: u16,
    pub char_type: u8,
    pub stat: u8,
    pub isbest: bool,
    pub alpha: f32,
    pub beta: f32,
    pub prob: f32,
    pub wcost: i16,
    pub cost: c_long,
    // some fields omitted
}

Fields

surface: Stringfeature: Stringid: u32length: u16rlength: u16rcattr: u16lcattr: u16posid: u16char_type: u8stat: u8isbest: boolalpha: f32beta: f32prob: f32wcost: i16cost: c_long

Methods

impl Node[src]

Important traits for NodeIter
pub fn iter_prev(self) -> NodeIter[src]

pub fn prev(&self) -> Option<Node>[src]

Important traits for NodeIter
pub fn iter_next(self) -> NodeIter[src]

pub fn next(&self) -> Option<Node>[src]

Important traits for NodeIter
pub fn iter_enext(self) -> NodeIter[src]

pub fn enext(&self) -> Option<Node>[src]

Important traits for NodeIter
pub fn iter_bnext(self) -> NodeIter[src]

pub fn bnext(&self) -> Option<Node>[src]

Trait Implementations

impl Clone for Node[src]

Auto Trait Implementations

impl !Send for Node

impl !Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

impl RefUnwindSafe for Node

Blanket Implementations

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

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

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.

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

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

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