pub(crate) trait DocFolder: Sized {
// Provided methods
fn fold_item(&mut self, item: Item) -> Option<Item> { ... }
fn fold_inner_recur(&mut self, kind: ItemKind) -> ItemKind { ... }
fn fold_item_recur(&mut self, item: Item) -> Item { ... }
fn fold_mod(&mut self, m: Module) -> Module { ... }
fn fold_crate(&mut self, c: Crate) -> Crate { ... }
}
Provided Methods§
fn fold_item(&mut self, item: Item) -> Option<Item>
sourcefn fold_inner_recur(&mut self, kind: ItemKind) -> ItemKind
fn fold_inner_recur(&mut self, kind: ItemKind) -> ItemKind
don’t override!
sourcefn fold_item_recur(&mut self, item: Item) -> Item
fn fold_item_recur(&mut self, item: Item) -> Item
don’t override!
fn fold_mod(&mut self, m: Module) -> Module
fn fold_crate(&mut self, c: Crate) -> Crate
Object Safety§
This trait is not object safe.