sudachi::analysis::node

Trait PathCost

source
pub trait PathCost {
    // Required method
    fn total_cost(&self) -> i32;

    // Provided method
    fn is_connected_to_bos(&self) -> bool { ... }
}
Expand description

Accessor trait for the full path cost

Required Methods§

source

fn total_cost(&self) -> i32

Provided Methods§

Implementors§