Enum generic_btree::PreviousCache
source · pub enum PreviousCache<'a, B: BTreeTrait> {
NodeCache(&'a B::Cache),
PrevSiblingElem(&'a B::Elem),
ThisElemAndOffset {
elem: &'a B::Elem,
offset: usize,
},
}Variants§
Auto Trait Implementations§
impl<'a, B> RefUnwindSafe for PreviousCache<'a, B>where <B as BTreeTrait>::Cache: RefUnwindSafe, <B as BTreeTrait>::Elem: RefUnwindSafe,
impl<'a, B> Send for PreviousCache<'a, B>where <B as BTreeTrait>::Cache: Sync, <B as BTreeTrait>::Elem: Sync,
impl<'a, B> Sync for PreviousCache<'a, B>where <B as BTreeTrait>::Cache: Sync, <B as BTreeTrait>::Elem: Sync,
impl<'a, B> Unpin for PreviousCache<'a, B>
impl<'a, B> UnwindSafe for PreviousCache<'a, B>where <B as BTreeTrait>::Cache: RefUnwindSafe, <B as BTreeTrait>::Elem: RefUnwindSafe,
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