Skip to main content

ds

Macro ds 

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

Generates a function $name which returns an Option<&str> by dereferencing the $name field of a struct.