zerovec_derive::utils

Function extract_attributes_common

source
pub fn extract_attributes_common(
    attrs: &mut Vec<Attribute>,
    span: Span,
    is_var: bool,
) -> Result<ZeroVecAttrs>
Expand description

Removes all known zerovec:: attributes from struct attrs and validates them