pub(crate) fn new(
        attributes: Vec<ast::Attribute>,
        storage: Storage,
        source: Arc<Source>,
    ) -> Self {
        Self {
            unused: attributes.iter().enumerate().map(|(i, _)| i).collect(),
            attributes,
            storage,
            source,
        }
    }
/// Construct a new attriutes parser.
Construct a new attriutes parser.
Construct a new attriutes parser .
pub(crate) fn new(
        attributes: Vec<ast::Attribute>,
        storage: Storage,
        source: Arc<Source>,
    ) -> Self {
        Self {
            unused: attributes.iter().enumerate().map(|(i, _)| i).collect(),
            attributes,
            storage,
            source,
        }
    }
pub ( crate ) fn new ( attributes : Vec < ast :: Attribute > , storage : Storage , source : Arc < Source > , ) -> Self { Self { unused : attributes . iter ( ) . enumerate ( ) . map ( | ( i , _ ) | i ) . collect ( ) , attributes , storage , source , } }
Construct a new attriutes parser.
Construct a new attriutes parser .
attributes
Vec<ast::Attribute>
storage
Storage
source
Arc<Source>
attributes
Vec<ast::Attribute>
storage
Storage
source
Arc<Source>