pub struct DebugReductionFactory;
Trait Implementations§
Source§impl Default for DebugReductionFactory
impl Default for DebugReductionFactory
Source§fn default() -> DebugReductionFactory
fn default() -> DebugReductionFactory
Returns the “default value” for a type. Read more
Source§impl ReductionFactory for DebugReductionFactory
impl ReductionFactory for DebugReductionFactory
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 DebugReductionFactory
impl RefUnwindSafe for DebugReductionFactory
impl Send for DebugReductionFactory
impl Sync for DebugReductionFactory
impl Unpin for DebugReductionFactory
impl UnwindSafe for DebugReductionFactory
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