Trait swc_config::merge::Merge
source · pub trait Merge: Sized {
// Required method
fn merge(&mut self, other: Self);
}
Expand description
Deriavable trait for overrding configurations.
Typically, correct implementation of this trait for a struct is calling
merge for all fields, and #[derive(Merge)]
will do it for you.