Trait synthez::parse::attrs::field::TryApplySelf [−][src]
pub trait TryApplySelf<V, K, D>: TryApply<V, K, D> where
K: Kind + ?Sized,
D: Dedup + ?Sized, { fn try_apply_self(&mut self, another: Self) -> Result<(), Error>; }
Expand description
Applying a value to a field::Container
according to a parsing
Kind
and Dedup
lication strategy from another
field::Container
.
Required methods
fn try_apply_self(&mut self, another: Self) -> Result<(), Error>
fn try_apply_self(&mut self, another: Self) -> Result<(), Error>
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 Dedup
lication strategy.