pub struct PartitionTree { /* private fields */ }Implementations§
Source§impl PartitionTree
impl PartitionTree
pub fn new(root: PartitionNode, n_features: usize) -> Result<Self>
pub fn root(&self) -> &PartitionNode
pub fn n_features(&self) -> usize
Trait Implementations§
Source§impl Clone for PartitionTree
impl Clone for PartitionTree
Source§fn clone(&self) -> PartitionTree
fn clone(&self) -> PartitionTree
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PartitionTree
impl Debug for PartitionTree
Source§impl<'de> Deserialize<'de> for PartitionTree
impl<'de> Deserialize<'de> for PartitionTree
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
impl Eq for PartitionTree
Source§impl PartialEq for PartitionTree
impl PartialEq for PartitionTree
Source§impl Serialize for PartitionTree
impl Serialize for PartitionTree
impl StructuralPartialEq for PartitionTree
Auto Trait Implementations§
impl Freeze for PartitionTree
impl RefUnwindSafe for PartitionTree
impl Send for PartitionTree
impl Sync for PartitionTree
impl Unpin for PartitionTree
impl UnsafeUnpin for PartitionTree
impl UnwindSafe for PartitionTree
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