Trait synthez_core::parse::attrs::field::TryApply [−][src]
pub trait TryApply<V, K: Kind + ?Sized, D: Dedup + ?Sized>: Container<V> {
fn try_apply(&mut self, value: V) -> Result<()>;
}
Expand description
Applying a value to a field::Container
according to a parsing
Kind
and Dedup
lication strategy.
Required methods
Applies the provided value
to this field::Container
.
Errors
If this field::Container
refuses to apply the value
according
to the Dedup
lication strategy.