Struct competitive_programming_rs::data_structure::treap::treap::Treap
source · pub struct Treap<T> { /* private fields */ }
Expand description
Treap
is a binary search tree data structure that maintain a dynamic set
of ordered keys and allow binary searches among the keys,
https://en.wikipedia.org/wiki/Treap
Implementations
sourceimpl<T: PartialOrd> Treap<T>where
T: Clone,
impl<T: PartialOrd> Treap<T>where
T: Clone,
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Treap<T>where
T: RefUnwindSafe,
impl<T> Send for Treap<T>where
T: Send,
impl<T> Sync for Treap<T>where
T: Sync,
impl<T> Unpin for Treap<T>
impl<T> UnwindSafe for Treap<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more