Struct lindera_core::viterbi::Edge
source · pub struct Edge {
pub edge_type: EdgeType,
pub word_entry: WordEntry,
pub path_cost: i32,
pub left_edge: Option<EdgeId>,
pub start_index: u32,
pub stop_index: u32,
pub kanji_only: bool,
}
Fields§
§edge_type: EdgeType
§word_entry: WordEntry
§path_cost: i32
§left_edge: Option<EdgeId>
§start_index: u32
§stop_index: u32
§kanji_only: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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