Skip to main content

create_getters

Macro create_getters 

Source
macro_rules! create_getters {
    ($struct_name:ident, $attributes:ident, $enum_name:ident, $( $field:ident { value: $type:ty } ),* ) => { ... };
}
Expand description

macro to create get_ functions for the values