Macro attribute
macro_rules! attribute {
($($key:ident)+ = $value:expr) => { ... };
($key:literal = $value:expr) => { ... };
($($key:ident)+) => { ... };
}
Expand description
Constructs a single attribute KeyValue
pair.
macro_rules! attribute {
($($key:ident)+ = $value:expr) => { ... };
($key:literal = $value:expr) => { ... };
($($key:ident)+) => { ... };
}
Constructs a single attribute KeyValue
pair.