[−][src]Derive Macro derive_getters::Getters
#[derive(Getters)] { // Attributes available to this derive: #[getter] }
Generate getter methods for all named struct fields in a seperate struct impl
block.
Getter methods share the name of the field they're 'getting'. Methods return an
immutable reference to the field.