Struct con_art_rust::RawArt
source · [−]pub struct RawArt<K: RawKey> { /* private fields */ }
Expand description
Raw interface to the ART tree.
The Art
is a wrapper around the RawArt
that provides a safe interface.
Unlike Art
, it support arbitrary Key
types, see also RawKey
.
Implementations
sourceimpl<T: RawKey> RawTree<T>
impl<T: RawKey> RawTree<T>
pub fn get(&self, key: &T, _guard: &Guard) -> Option<usize>
pub fn insert(&self, k: T, tid: usize, guard: &Guard)
pub fn range(
&self,
start: &T,
end: &T,
result: &mut [usize],
_guard: &Guard
) -> Option<usize>
pub fn remove_inner(&self, k: &T, guard: &Guard) -> Result<(), usize>
pub fn remove(&self, k: &T, guard: &Guard)
Trait Implementations
Auto Trait Implementations
impl<K> RefUnwindSafe for RawTree<K> where
K: RefUnwindSafe,
impl<K> Send for RawTree<K> where
K: Send,
impl<K> Sync for RawTree<K> where
K: Sync,
impl<K> Unpin for RawTree<K> where
K: Unpin,
impl<K> UnwindSafe for RawTree<K> where
K: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more