pub trait LayerMerge: Sized {
// Required method
fn merge(&mut self, other: &Self);
// Provided method
fn merge_from(&mut self, other: impl Into<Self>) { ... }
}Expand description
Layer concatenation.
Required Methods§
Provided Methods§
Sourcefn merge_from(&mut self, other: impl Into<Self>)
fn merge_from(&mut self, other: impl Into<Self>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.