Struct gbdt::binary_tree::BinaryTreeNode
source · pub struct BinaryTreeNode<T> {
pub value: T,
/* private fields */
}
Expand description
Node of the binary tree.
Fields§
§value: T
Store information in a node.
Implementations§
Trait Implementations§
source§impl<T: Debug> Debug for BinaryTreeNode<T>
impl<T: Debug> Debug for BinaryTreeNode<T>
source§impl<T: Default> Default for BinaryTreeNode<T>
impl<T: Default> Default for BinaryTreeNode<T>
source§fn default() -> BinaryTreeNode<T>
fn default() -> BinaryTreeNode<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for BinaryTreeNode<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for BinaryTreeNode<T>where
T: Deserialize<'de>,
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
Auto Trait Implementations§
impl<T> RefUnwindSafe for BinaryTreeNode<T>where
T: RefUnwindSafe,
impl<T> Send for BinaryTreeNode<T>where
T: Send,
impl<T> Sync for BinaryTreeNode<T>where
T: Sync,
impl<T> Unpin for BinaryTreeNode<T>where
T: Unpin,
impl<T> UnwindSafe for BinaryTreeNode<T>where
T: UnwindSafe,
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