forge_doc::parser::item

Macro as_inner_source

Source
macro_rules! as_inner_source {
    ($vis:vis fn $name:ident(&self, $variant:ident) -> $ret:ty) => { ... };
}
Expand description

Defines a method that returns ParseSource inner element if it matches the variant