pub struct VectorFst<W: Semiring> { /* private fields */ }

Trait Implementations

The resulting type after applying the + operator.
Performs the + operation. Read more
Iterator used to iterate over the arcs leaving a state of an FST.
The resulting type after applying the | operator.
Performs the | operation. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Weight use in the wFST. This type must implement the Semiring trait
Returns the ID of the start state of the wFST if it exists else none. Read more
Retrieves the final weight of a state (if the state is a final one). Read more
Total number of arcs in the wFST. This is the sum of the outgoing arcs of each state. Read more
Returns whether or not the state with identifier passed as parameters is a final state. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Returns the number of states that contains the FST. They are all counted even if some states are not on a successful path (doesn’t perform triming). Read more
Creates an empty wFST
The state with identifier state_id is now the start state. Note that only one start state is allowed in this implementation. Calling this function twice will mean losing the first start state. If the state_id doesn’t exist an error is raised. Read more
The state with identifier state_id is now a final state with a weight final_weight. If the state_id doesn’t exist an error is raised. Read more
Adds a new state to the current FST. The identifier of the new state is returned Read more
Adds an arc to the FST. The arc will start in the state source. An error is raised if the state source doesn’t exist. Read more
Removes a state from an FST. It also removes all the arcs starting from another state and reaching this state. An error is raised if the state state_id doesn’t exist. Read more
Removes multiple states from an FST. If one of the states doesn’t exist, an error is raised. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Iterator used to iterate over the state_id of the states of an FST.
Creates an iterator over the state_id of the states of an FST. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.