pub struct PrefixTree<Elem, Payload>{
pub tab: HashMap<(u32, u32, Elem), (u32, bool, Option<Payload>)>,
}
Fields§
§tab: HashMap<(u32, u32, Elem), (u32, bool, Option<Payload>)>
Implementations§
Trait Implementations§
Source§impl<Elem, Payload: Clone> Clone for PrefixTree<Elem, Payload>
impl<Elem, Payload: Clone> Clone for PrefixTree<Elem, Payload>
Source§fn clone(&self) -> PrefixTree<Elem, Payload>
fn clone(&self) -> PrefixTree<Elem, Payload>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<Elem, Payload> Freeze for PrefixTree<Elem, Payload>
impl<Elem, Payload> RefUnwindSafe for PrefixTree<Elem, Payload>where
Elem: RefUnwindSafe,
Payload: RefUnwindSafe,
impl<Elem, Payload> Send for PrefixTree<Elem, Payload>
impl<Elem, Payload> Sync for PrefixTree<Elem, Payload>
impl<Elem, Payload> Unpin for PrefixTree<Elem, Payload>
impl<Elem, Payload> UnwindSafe for PrefixTree<Elem, Payload>where
Elem: UnwindSafe,
Payload: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more