Struct from_attr::AttrsValue
source · pub struct AttrsValue<A, V> {
pub attrs: Vec<A>,
pub value: V,
}
Expand description
Data structure to hold instance implemented FromAttr
trait and parsed attributes.
Fields§
§attrs: Vec<A>
The parsed attributes.
value: V
The result parsed from the attributes.
Trait Implementations§
Auto Trait Implementations§
impl<A, V> Freeze for AttrsValue<A, V>where
V: Freeze,
impl<A, V> RefUnwindSafe for AttrsValue<A, V>where
V: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, V> Send for AttrsValue<A, V>
impl<A, V> Sync for AttrsValue<A, V>
impl<A, V> Unpin for AttrsValue<A, V>
impl<A, V> UnwindSafe for AttrsValue<A, V>where
V: UnwindSafe,
A: UnwindSafe,
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