Struct prof::WeightedSymbolTrie[][src]

pub struct WeightedSymbolTrie {
    arena: Vec<SymbolTrieNode>,
}

Fields

arena: Vec<SymbolTrieNode>

Implementations

impl WeightedSymbolTrie[src]

pub(crate) fn new() -> Self[src]

pub fn dfs<F: FnMut(&SymbolTrieNode), G: FnMut(&SymbolTrieNode, bool)>(
    &self,
    pre: F,
    post: G
)
[src]

pub(crate) fn dfs_inner<F: FnMut(&SymbolTrieNode), G: FnMut(&SymbolTrieNode, bool)>(
    &self,
    cur: usize,
    pre: &mut F,
    post: &mut G,
    is_last: bool
)
[src]

pub(crate) fn step(&mut self, node: usize, next_name: &str) -> usize[src]

pub(crate) fn node_mut(&mut self, idx: usize) -> &mut SymbolTrieNode[src]

Trait Implementations

impl Serialize for WeightedSymbolTrie[src]

Auto Trait Implementations

impl RefUnwindSafe for WeightedSymbolTrie[src]

impl Send for WeightedSymbolTrie[src]

impl Sync for WeightedSymbolTrie[src]

impl Unpin for WeightedSymbolTrie[src]

impl UnwindSafe for WeightedSymbolTrie[src]

Blanket Implementations

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

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

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]