pub trait TypedTreePath<TIdN: TypedNodeId, Idx>: TreePath<TIdN::IdN, Idx> {
    // Required methods
    fn node_typed(&self) -> Option<&TIdN>;
    fn pop_typed(&mut self) -> Option<(TIdN, Idx)>;
    fn goto_typed(&mut self, node: TIdN, i: Idx);
}

Required Methods§

source

fn node_typed(&self) -> Option<&TIdN>

source

fn pop_typed(&mut self) -> Option<(TIdN, Idx)>

source

fn goto_typed(&mut self, node: TIdN, i: Idx)

Implementors§

source§

impl<TIdN: TypedNodeId, Idx: PrimInt> TypedTreePath<TIdN, Idx> for TypedScout<TIdN, Idx>where TIdN::IdN: Copy,