pub enum Map {}Expand description
Kind defining parsing an Attrs’ field as key-value pairs behind
a syn::Ident.
#[attr(ident key = value)]Trait Implementations§
Source§impl<K, V, D> TryApplySelf<(K, V), Map, D> for BTreeMap<K, V>
impl<K, V, D> TryApplySelf<(K, V), Map, D> for BTreeMap<K, V>
Source§fn try_apply_self(&mut self, another: Self) -> Result<()>
fn try_apply_self(&mut self, another: Self) -> Result<()>
Source§impl<K, V, D, S> TryApplySelf<(K, V), Map, D> for HashMap<K, V, S>
impl<K, V, D, S> TryApplySelf<(K, V), Map, D> for HashMap<K, V, S>
Source§fn try_apply_self(&mut self, another: Self) -> Result<()>
fn try_apply_self(&mut self, another: Self) -> Result<()>
impl Copy for Map
impl Kind for Map
Auto Trait Implementations§
impl Freeze for Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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