pub trait EasyAttributes {
    fn parse(attrs: &[Attribute], span: Span) -> Result<Self>
    where
        Self: Sized
; fn parse_in(
        namespace: &Ident,
        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 attributes vector parsed by syn.

Required Methods

Parse attributes array.

Parse attributes array within specifeid namespace.

Implementors