pub trait TryApplySelf<V, K: Kind + ?Sized, D: Dedup + ?Sized>: TryApply<V, K, D> {
// Required method
fn try_apply_self(&mut self, another: Self) -> Result<()>;
}Expand description
Applying a value to a field::Container according to a parsing
Kind and Deduplication strategy from another
field::Container.
Required Methods§
Sourcefn try_apply_self(&mut self, another: Self) -> Result<()>
fn try_apply_self(&mut self, another: Self) -> Result<()>
Applies the value extracted from another field::Container to
this field::Container.
§Errors
If this field::Container refuses to apply the extracted value
according to the Deduplication strategy.
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.