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§
sourcefn override_from(self, layer: &T) -> Self
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§
impl OverrideFrom<OptimizerFeatureOverrides> for OptimizerFeatures
An OverrideFrom
implementation that updates
OptimizerFeatures
using OptimizerFeatureOverrides
values.
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
Self: OverrideFrom<T>,
Overrides for U
coming from an optional T
.