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, S> TryApply<V, Value, Unique> for HashSet<V, S>where
for<'a> &'a V: IntoSpan,
V: Eq + Hash,
S: BuildHasher,
impl<V, S> TryApply<V, Value, Unique> for HashSet<V, S>where for<'a> &'a V: IntoSpan, V: Eq + Hash, S: BuildHasher,
source§impl<V, D> TryApplySelf<V, Value, D> for BTreeSet<V>where
D: Dedup + ?Sized,
Self: TryApply<V, Value, D>,
impl<V, D> TryApplySelf<V, Value, D> for BTreeSet<V>where D: Dedup + ?Sized, Self: TryApply<V, Value, D>,
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>where
D: Dedup + ?Sized,
S: BuildHasher,
Self: TryApply<V, Value, D>,
impl<V, S, D> TryApplySelf<V, Value, D> for HashSet<V, S>where D: Dedup + ?Sized, S: BuildHasher, Self: TryApply<V, Value, D>,
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>where
D: Dedup + ?Sized,
Self: TryApply<V, Value, D>,
impl<V, D> TryApplySelf<V, Value, D> for Vec<V>where D: Dedup + ?Sized, Self: TryApply<V, Value, D>,
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 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, 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>where
T: TryApply<V, K, D>,
K: Kind + ?Sized,
D: Dedup + ?Sized,
fn try_merge<K, D>(&mut self, val: V) -> Result<(), Error>where T: TryApply<V, K, D>, K: Kind + ?Sized, D: Dedup + ?Sized,
Merges the provided
value
to this field::Container
with the
specified parsing Kind
and Dedup
lication strategy. Read moresource§fn try_merge_self<K, D>(&mut self, another: T) -> Result<(), Error>where
T: TryApplySelf<V, K, D>,
K: Kind + ?Sized,
D: Dedup + ?Sized,
fn try_merge_self<K, D>(&mut self, another: T) -> Result<(), Error>where T: TryApplySelf<V, K, D>, K: Kind + ?Sized, D: Dedup + ?Sized,
Merges the value extracted from
another
field::Container
to
this field::Container
with the specified parsing Kind
and
Dedup
lication strategy. Read more