pub struct BinaryTree(/* private fields */);
Trait Implementations§
Source§impl Debug for BinaryTree
impl Debug for BinaryTree
Source§impl<'de> Deserialize<'de> for BinaryTree
impl<'de> Deserialize<'de> for BinaryTree
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BinaryTree> for Option<Rc<RefCell<TreeNode>>>
impl From<BinaryTree> for Option<Rc<RefCell<TreeNode>>>
Source§fn from(tree: BinaryTree) -> Self
fn from(tree: BinaryTree) -> Self
Converts to this type from the input type.
Source§impl Ord for BinaryTree
impl Ord for BinaryTree
Source§fn cmp(&self, other: &BinaryTree) -> Ordering
fn cmp(&self, other: &BinaryTree) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BinaryTree
impl PartialEq for BinaryTree
Source§impl PartialOrd for BinaryTree
impl PartialOrd for BinaryTree
Source§impl Serialize for BinaryTree
impl Serialize for BinaryTree
impl Eq for BinaryTree
impl StructuralPartialEq for BinaryTree
Auto Trait Implementations§
impl Freeze for BinaryTree
impl !RefUnwindSafe for BinaryTree
impl !Send for BinaryTree
impl !Sync for BinaryTree
impl Unpin for BinaryTree
impl !UnwindSafe for BinaryTree
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