Skip to main content

ISortedSet_1_NodeMethods

Trait ISortedSet_1_NodeMethods 

Source
pub trait ISortedSet_1_NodeMethods<T0: ClassIdentity>: ClassIdentity {
Show 27 methods // Provided methods fn ctor(self, item: T0, color: NodeColor) where Self: Sized { ... } fn is_non_null_red(node: SortedSet_1_Node<T0>) -> bool { ... } fn is_null_or_black(node: SortedSet_1_Node<T0>) -> bool { ... } fn get_item(self) -> T0 where Self: Sized { ... } fn set_item(self, value: T0) where Self: Sized { ... } fn get_left(self) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn set_left(self, value: SortedSet_1_Node<T0>) where Self: Sized { ... } fn get_right(self) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn set_right(self, value: SortedSet_1_Node<T0>) where Self: Sized { ... } fn get_color(self) -> NodeColor where Self: Sized { ... } fn set_color(self, value: NodeColor) where Self: Sized { ... } fn get_is_black(self) -> bool where Self: Sized { ... } fn get_is_red(self) -> bool where Self: Sized { ... } fn get_is2_node(self) -> bool where Self: Sized { ... } fn get_is4_node(self) -> bool where Self: Sized { ... } fn color_black(self) where Self: Sized { ... } fn color_red(self) where Self: Sized { ... } fn get_rotation( self, current: SortedSet_1_Node<T0>, sibling: SortedSet_1_Node<T0>, ) -> TreeRotation where Self: Sized { ... } fn get_sibling(self, node: SortedSet_1_Node<T0>) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn split4_node(self) where Self: Sized { ... } fn rotate(self, rotation: TreeRotation) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn rotate_left(self) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn rotate_left_right(self) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn rotate_right(self) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn rotate_right_left(self) -> SortedSet_1_Node<T0> where Self: Sized { ... } fn merge2_nodes(self) where Self: Sized { ... } fn replace_child( self, child: SortedSet_1_Node<T0>, new_child: SortedSet_1_Node<T0>, ) where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self, item: T0, color: NodeColor)
where Self: Sized,

Source

fn is_non_null_red(node: SortedSet_1_Node<T0>) -> bool

Source

fn is_null_or_black(node: SortedSet_1_Node<T0>) -> bool

Source

fn get_item(self) -> T0
where Self: Sized,

Source

fn set_item(self, value: T0)
where Self: Sized,

Source

fn get_left(self) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn set_left(self, value: SortedSet_1_Node<T0>)
where Self: Sized,

Source

fn get_right(self) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn set_right(self, value: SortedSet_1_Node<T0>)
where Self: Sized,

Source

fn get_color(self) -> NodeColor
where Self: Sized,

Source

fn set_color(self, value: NodeColor)
where Self: Sized,

Source

fn get_is_black(self) -> bool
where Self: Sized,

Source

fn get_is_red(self) -> bool
where Self: Sized,

Source

fn get_is2_node(self) -> bool
where Self: Sized,

Source

fn get_is4_node(self) -> bool
where Self: Sized,

Source

fn color_black(self)
where Self: Sized,

Source

fn color_red(self)
where Self: Sized,

Source

fn get_rotation( self, current: SortedSet_1_Node<T0>, sibling: SortedSet_1_Node<T0>, ) -> TreeRotation
where Self: Sized,

Source

fn get_sibling(self, node: SortedSet_1_Node<T0>) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn split4_node(self)
where Self: Sized,

Source

fn rotate(self, rotation: TreeRotation) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn rotate_left(self) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn rotate_left_right(self) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn rotate_right(self) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn rotate_right_left(self) -> SortedSet_1_Node<T0>
where Self: Sized,

Source

fn merge2_nodes(self)
where Self: Sized,

Source

fn replace_child( self, child: SortedSet_1_Node<T0>, new_child: SortedSet_1_Node<T0>, )
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§