pub trait Merge: Default {
// Required methods
fn merge(&mut self, other: Self);
fn is_empty(&self) -> bool;
// Provided method
fn take(&mut self) -> Option<Self> { ... }
}
Expand description
Trait that makes an object mergeable.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.