[−][src]Struct hat_trie::DenseVecTrieNode
Implementations
impl<K, V> DenseVecTrieNode<K, V> where
K: Copy + AsPrimitive<usize> + Bounded + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
[src]
K: Copy + AsPrimitive<usize> + Bounded + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
pub fn new() -> DenseVecTrieNode<K, V>
[src]
Trait Implementations
impl<K: Clone, V: Clone> Clone for DenseVecTrieNode<K, V> where
K: AsPrimitive<usize> + Bounded + Copy + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
[src]
K: AsPrimitive<usize> + Bounded + Copy + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
fn clone(&self) -> DenseVecTrieNode<K, V>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<K: Debug, V: Debug> Debug for DenseVecTrieNode<K, V> where
K: AsPrimitive<usize> + Bounded + Copy + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
[src]
K: AsPrimitive<usize> + Bounded + Copy + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
impl<K, V> TrieNode<K, V> for DenseVecTrieNode<K, V> where
K: AsPrimitive<usize> + Bounded + Copy + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
[src]
K: AsPrimitive<usize> + Bounded + Copy + Debug + Hash + FromPrimitive + PartialEq + PartialOrd + Sized + Unsigned,
Box<[K]>: Clone + PartialEq,
V: Clone + Default,
fn new_split(bucket: ArrayHash<XxHash64, Box<[K]>, V>) -> Self
[src]
fn child<'a>(&'a self, key: &K) -> &'a NodeType<K, Self, V>
[src]
fn value(&self) -> Option<&V>
[src]
fn value_mut(&mut self) -> &mut Option<V>
[src]
fn put(&mut self, key: &[K], value: V) -> Option<V>
[src]
fn try_put<'a>(&'a mut self, key: &[K], value: V) -> Option<&'a V> where
K: 'a,
[src]
K: 'a,
fn get<'a>(&'a self, key: &[K]) -> Option<&'a V> where
K: 'a,
[src]
K: 'a,
fn prefix<'a, 'b>(&'a self, key: &'b [K]) -> PrefixIterator<'a, 'b, K, Self, V>
[src]
fn longest_prefix<'a, 'b>(&'a self, key: &'b [K]) -> Option<(&'b [K], &'a V)> where
K: 'a,
[src]
K: 'a,
Auto Trait Implementations
impl<K, V> RefUnwindSafe for DenseVecTrieNode<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> !Send for DenseVecTrieNode<K, V>
impl<K, V> !Sync for DenseVecTrieNode<K, V>
impl<K, V> Unpin for DenseVecTrieNode<K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for DenseVecTrieNode<K, V> where
K: RefUnwindSafe + UnwindSafe,
V: RefUnwindSafe + UnwindSafe,
K: RefUnwindSafe + UnwindSafe,
V: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,