pub struct Ptr(pub usize);Expand description
Storage とのやり取りを行うために用いるポインタ
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl<K, M> ShowBinaryTree<Ptr> for BalancedBinaryTree<K, M>
impl<K, M> ShowBinaryTree<Ptr> for BalancedBinaryTree<K, M>
Source§fn print_node(&self, ptr: &Ptr) -> String
fn print_node(&self, ptr: &Ptr) -> String
<required> ノードの値を表示する
Source§fn print_as_binary_tree(&self)
fn print_as_binary_tree(&self)
2分木としてフォーマットする
Source§impl<I, M> ShowBinaryTree<Ptr> for DynamicSegmentTree<I, M>
impl<I, M> ShowBinaryTree<Ptr> for DynamicSegmentTree<I, M>
Source§fn print_node(&self, ptr: &Ptr) -> String
fn print_node(&self, ptr: &Ptr) -> String
<required> ノードの値を表示する
Source§fn print_as_binary_tree(&self)
fn print_as_binary_tree(&self)
2分木としてフォーマットする
Source§impl<M> ShowBinaryTree<Ptr> for ImplicitTreap<M>
impl<M> ShowBinaryTree<Ptr> for ImplicitTreap<M>
Source§fn print_node(&self, ptr: &Ptr) -> String
fn print_node(&self, ptr: &Ptr) -> String
<required> ノードの値を表示する
Source§fn print_as_binary_tree(&self)
fn print_as_binary_tree(&self)
2分木としてフォーマットする
impl Copy for Ptr
impl Eq for Ptr
impl StructuralPartialEq for Ptr
Auto Trait Implementations§
impl Freeze for Ptr
impl RefUnwindSafe for Ptr
impl Send for Ptr
impl Sync for Ptr
impl Unpin for Ptr
impl UnwindSafe for Ptr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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