pub enum Value {}Expand description
Kind defining parsing an Attrs’ field as values behind a
syn::Ident.
#[attr(ident = value)]
#[attr(ident value)]
#[attr(ident(value1, value2))]Trait Implementations§
Source§impl<V, D> TryApplySelf<V, Value, D> for BTreeSet<V>
impl<V, D> TryApplySelf<V, Value, D> for BTreeSet<V>
Source§fn try_apply_self(&mut self, another: Self) -> Result<()>
fn try_apply_self(&mut self, another: Self) -> Result<()>
Source§impl<V, S, D> TryApplySelf<V, Value, D> for HashSet<V, S>
impl<V, S, D> TryApplySelf<V, Value, D> for HashSet<V, S>
Source§fn try_apply_self(&mut self, another: Self) -> Result<()>
fn try_apply_self(&mut self, another: Self) -> Result<()>
Source§impl<V, D> TryApplySelf<V, Value, D> for Vec<V>
impl<V, D> TryApplySelf<V, Value, D> for Vec<V>
Source§fn try_apply_self(&mut self, another: Self) -> Result<()>
fn try_apply_self(&mut self, another: Self) -> Result<()>
impl Copy for Value
impl Kind for Value
impl Single for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, V> TryMerge<V> for Twhere
T: ?Sized,
impl<T, V> TryMerge<V> for Twhere
T: ?Sized,
Source§fn try_merge<K, D>(&mut self, val: V) -> Result<(), Error>
fn try_merge<K, D>(&mut self, val: V) -> Result<(), Error>
Merges the provided
value to this field::Container with the
specified parsing Kind and Deduplication strategy. Read moreSource§fn try_merge_self<K, D>(&mut self, another: T) -> Result<(), Error>
fn try_merge_self<K, D>(&mut self, another: T) -> Result<(), Error>
Merges the value extracted from
another field::Container to
this field::Container with the specified parsing Kind and
Deduplication strategy. Read more