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§


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.



impl OverrideFrom<OptimizerFeatureOverrides> for OptimizerFeatures

An OverrideFrom implementation that updates OptimizerFeatures using OptimizerFeatureOverrides values.


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

Overrides for U coming from an optional T.