wfst

Trait Arc

Source
pub trait Arc<W: Weight>:
    PartialEq
    + Debug
    + Clone {
    // Required methods
    fn ilabel(&self) -> Label;
    fn olabel(&self) -> Label;
    fn weight(&self) -> W;
    fn nextstate(&self) -> StateId;
}

Required Methods§

Source

fn ilabel(&self) -> Label

Source

fn olabel(&self) -> Label

Source

fn weight(&self) -> W

Source

fn nextstate(&self) -> StateId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<W: Weight> Arc<W> for Rc<RefCell<StdArc<W>>>

Source§

fn ilabel(&self) -> Label

Source§

fn olabel(&self) -> Label

Source§

fn weight(&self) -> W

Source§

fn nextstate(&self) -> StateId

Implementors§

Source§

impl<W: Weight> Arc<W> for StdArc<W>