pub struct BinaryReductionFactory;Trait Implementations§
Source§impl Default for BinaryReductionFactory
impl Default for BinaryReductionFactory
Source§fn default() -> BinaryReductionFactory
fn default() -> BinaryReductionFactory
Returns the “default value” for a type. Read more
Source§impl ReductionFactory for BinaryReductionFactory
impl ReductionFactory for BinaryReductionFactory
fn typename(&self) -> PascalCaseString
fn parse_config(&self, value: &Value) -> Result<Box<dyn ReductionConfig>>
fn get_config_schema(&self) -> RootSchema
fn get_config_default(&self) -> Value
fn create( &self, config: &dyn ReductionConfig, global_config: &GlobalConfig, num_models_above: ModelIndex, ) -> Result<ReductionWrapper>
fn get_suggested_metrics(&self) -> Vec<String>
Auto Trait Implementations§
impl Freeze for BinaryReductionFactory
impl RefUnwindSafe for BinaryReductionFactory
impl Send for BinaryReductionFactory
impl Sync for BinaryReductionFactory
impl Unpin for BinaryReductionFactory
impl UnsafeUnpin for BinaryReductionFactory
impl UnwindSafe for BinaryReductionFactory
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more