pub struct LazySplayTree<A: Action> { /* private fields */ }
Expand description
遅延スプレー木
Implementations§
Source§impl<A: Action> LazySplayTree<A>
impl<A: Action> LazySplayTree<A>
Sourcepub fn merge_right(&mut self, right: Self)
pub fn merge_right(&mut self, right: Self)
右側にスプレーツリーを結合する
Sourcepub fn merge_left(&mut self, left: Self)
pub fn merge_left(&mut self, left: Self)
左側にスプレーツリーを結合する
Sourcepub fn push_first(&mut self, value: A::Output)
pub fn push_first(&mut self, value: A::Output)
先頭に値を追加する
Trait Implementations§
Auto Trait Implementations§
impl<A> !Freeze for LazySplayTree<A>
impl<A> !RefUnwindSafe for LazySplayTree<A>
impl<A> !Send for LazySplayTree<A>
impl<A> !Sync for LazySplayTree<A>
impl<A> Unpin for LazySplayTree<A>
impl<A> UnwindSafe for LazySplayTree<A>
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