Trait mz_repr::optimize::OverrideFrom

source ·
pub trait OverrideFrom<T> {
    // Required method
    fn override_from(self, layer: &T) -> Self;
}
Expand description

A trait used to implement layered config construction.

Required Methods§

source

fn override_from(self, layer: &T) -> Self

Override the configuration represented by Self with values from the given layer.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl OverrideFrom<OptimizerFeatureOverrides> for OptimizerFeatures

An OverrideFrom implementation that updates OptimizerFeatures using OptimizerFeatureOverrides values.

source§

impl<T, U> OverrideFrom<Option<&T>> for U
where Self: OverrideFrom<T>,

Overrides for U coming from an optional T.