[−][src]Struct sequencetree::SequenceTree
Implementations
impl<K: PartialOrd + PartialEq + Copy + Default, T> SequenceTree<K, T>
[src]
pub fn new() -> SequenceTree<K, T>
[src]
pub fn del(&mut self, key: Vec<K>)
[src]
pub fn set(&mut self, key: Vec<K>, value: T)
[src]
pub fn get(&self, key: Vec<K>) -> &Option<T>
[src]
Auto Trait Implementations
impl<K, T> RefUnwindSafe for SequenceTree<K, T> where
K: RefUnwindSafe,
T: RefUnwindSafe,
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T> Send for SequenceTree<K, T> where
K: Send,
T: Send,
K: Send,
T: Send,
impl<K, T> Sync for SequenceTree<K, T> where
K: Sync,
T: Sync,
K: Sync,
T: Sync,
impl<K, T> Unpin for SequenceTree<K, T> where
K: Unpin,
T: Unpin,
K: Unpin,
T: Unpin,
impl<K, T> UnwindSafe for SequenceTree<K, T> where
K: UnwindSafe,
T: UnwindSafe,
K: UnwindSafe,
T: 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,
pub 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, 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.
pub 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>,