pub enum GrowPolicy {
Depthwise,
LossGuide,
}
Expand description
Controls the way new nodes are added to the tree.
Variants§
Trait Implementations§
Source§impl Clone for GrowPolicy
impl Clone for GrowPolicy
Source§fn clone(&self) -> GrowPolicy
fn clone(&self) -> GrowPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for GrowPolicy
impl Default for GrowPolicy
Source§fn default() -> GrowPolicy
fn default() -> GrowPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GrowPolicy
impl RefUnwindSafe for GrowPolicy
impl Send for GrowPolicy
impl Sync for GrowPolicy
impl Unpin for GrowPolicy
impl UnwindSafe for GrowPolicy
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