attribute_size

Function attribute_size 

Source
pub fn attribute_size(v: &Annotated<Attribute>) -> usize
Expand description

Calculates the size of a single attribute.

As described in attributes_size, only the value of the attribute is considered for the size of an attribute.