#[repr(i32)]pub enum WeakLearnerType {
NormalDecisionTree = 0,
ObliviousDecisionTree = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WeakLearnerType
impl Clone for WeakLearnerType
Source§fn clone(&self) -> WeakLearnerType
fn clone(&self) -> WeakLearnerType
Returns a duplicate of the value. Read more
1.0.0 · 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 WeakLearnerType
impl Debug for WeakLearnerType
Source§impl Default for WeakLearnerType
impl Default for WeakLearnerType
Source§fn default() -> WeakLearnerType
fn default() -> WeakLearnerType
Returns the “default value” for a type. Read more
Source§impl From<WeakLearnerType> for i32
impl From<WeakLearnerType> for i32
Source§fn from(value: WeakLearnerType) -> i32
fn from(value: WeakLearnerType) -> i32
Converts to this type from the input type.
Source§impl Hash for WeakLearnerType
impl Hash for WeakLearnerType
Source§impl Ord for WeakLearnerType
impl Ord for WeakLearnerType
Source§fn cmp(&self, other: &WeakLearnerType) -> Ordering
fn cmp(&self, other: &WeakLearnerType) -> 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 WeakLearnerType
impl PartialEq for WeakLearnerType
Source§impl PartialOrd for WeakLearnerType
impl PartialOrd for WeakLearnerType
impl Copy for WeakLearnerType
impl Eq for WeakLearnerType
impl StructuralPartialEq for WeakLearnerType
Auto Trait Implementations§
impl Freeze for WeakLearnerType
impl RefUnwindSafe for WeakLearnerType
impl Send for WeakLearnerType
impl Sync for WeakLearnerType
impl Unpin for WeakLearnerType
impl UnwindSafe for WeakLearnerType
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