[−][src]Struct lib::trie::basic::Node
Fields
node: HashMap<T, Rc<RefCell<Node<T>>>>leaf: Leaf<T>Methods
impl<T: Eq + Hash + Clone> Node<T>[src]
Trait Implementations
impl<T: Eq + Hash + Clone> Trie<T> for Node<T>[src]
fn insert_seq(node: Rc<RefCell<Node<T>>>, words: &[T], leaf: Leaf<T>)[src]
fn get_leaf(node: Rc<RefCell<Node<T>>>, words: &[T]) -> Leaf<T>[src]
fn find_node(
node: Rc<RefCell<Node<T>>>,
word: &T
) -> (bool, Rc<RefCell<Node<T>>>)[src]
node: Rc<RefCell<Node<T>>>,
word: &T
) -> (bool, Rc<RefCell<Node<T>>>)
fn find_last_node(
node: Rc<RefCell<Node<T>>>,
words: &[T]
) -> (usize, Rc<RefCell<Node<T>>>)[src]
node: Rc<RefCell<Node<T>>>,
words: &[T]
) -> (usize, Rc<RefCell<Node<T>>>)
fn add_leaf(node: Rc<RefCell<Node<T>>>, leaf: Leaf<T>) -> bool[src]
fn add_node(node: Rc<RefCell<Node<T>>>, node_data: T) -> Rc<RefCell<Node<T>>>[src]
impl<T: Debug + Eq + Hash + Clone> Debug for Node<T>[src]
Auto Trait Implementations
impl<T> Unpin for Node<T> where
T: Unpin,
T: Unpin,
impl<T> !Sync for Node<T>
impl<T> !Send for Node<T>
impl<T> !RefUnwindSafe for Node<T>
impl<T> !UnwindSafe for Node<T>
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,