pub trait EasyAttributes {
    fn parse(attrs: &[Attribute], span: Span) -> Result<Self>
    where
        Self: Sized
; }
Expand description

Collection of attributes that can be parsed from array of attributes. Can be easily applied to field’s or type’s attributes vector.

Required Methods

Parse attributes array.

Implementors