Skip to main content

str

Macro str 

Source
macro_rules! str {
    ($name:ident, $doc:expr) => { ... };
}
Expand description

Generates a function which returns a borrowed &str for a given String field named $name in a class.