pub struct RefRange<'a, Q, R, K, V, C = BasicComparator, A: SkiplistAllocator = TursoAllocator>{ /* private fields */ }Expand description
An iterator over reference-counted subset of entries of a SkipList.
Implementations§
Source§impl<'a, Q, R, K: 'a, V: 'a, C, A: SkiplistAllocator> RefRange<'a, Q, R, K, V, C, A>
impl<'a, Q, R, K: 'a, V: 'a, C, A: SkiplistAllocator> RefRange<'a, Q, R, K, V, C, A>
Trait Implementations§
Source§impl<Q, R, K, V, C, A: SkiplistAllocator> Debug for RefRange<'_, Q, R, K, V, C, A>where
C: Comparator<K> + Comparator<K, Q>,
K: Debug,
V: Debug,
R: RangeBounds<Q> + Debug,
Q: ?Sized,
impl<Q, R, K, V, C, A: SkiplistAllocator> Debug for RefRange<'_, Q, R, K, V, C, A>where
C: Comparator<K> + Comparator<K, Q>,
K: Debug,
V: Debug,
R: RangeBounds<Q> + Debug,
Q: ?Sized,
impl<Q, R, K, V, C, A: SkiplistAllocator> Send for RefRange<'_, Q, R, K, V, C, A>
impl<Q, R, K, V, C, A: SkiplistAllocator> Sync for RefRange<'_, Q, R, K, V, C, A>
Auto Trait Implementations§
impl<'a, Q, R, K, V, C = BasicComparator, A = TursoAllocator> !RefUnwindSafe for RefRange<'a, Q, R, K, V, C, A>
impl<'a, Q, R, K, V, C = BasicComparator, A = TursoAllocator> !UnwindSafe for RefRange<'a, Q, R, K, V, C, A>
impl<'a, Q, R, K, V, C, A> Freeze for RefRange<'a, Q, R, K, V, C, A>
impl<'a, Q, R, K, V, C, A> Unpin for RefRange<'a, Q, R, K, V, C, A>
impl<'a, Q, R, K, V, C, A> UnsafeUnpin for RefRange<'a, Q, R, K, V, C, A>where
&'a SkipList<K, V, C, A>: UnsafeUnpin,
Option<RefEntry<'a, K, V, C, A>>: UnsafeUnpin,
R: UnsafeUnpin,
PhantomData<fn() -> Q>: UnsafeUnpin,
Q: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more