bytemuck_derive::traits

Function get_simple_attr

source
fn get_simple_attr(attributes: &[Attribute], attr_name: &str) -> Option<Ident>
Expand description

get a simple #[foo(bar)] attribute, returning “bar”