Struct prof::WeightedSymbolTrie[][src]

pub struct WeightedSymbolTrie {
    arena: Vec<SymbolTrieNode>,


arena: Vec<SymbolTrieNode>


impl WeightedSymbolTrie[src]

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

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

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>,