Trait rustdoc::clean::types::GetDefId [−][src]
Required methods
fn def_id(&self) -> Option<DefId>[src]
Use this method to get the DefId of a clean AST node.
This will return None when called on a primitive clean::Type.
Use Self::def_id_full if you want to include primitives.
fn def_id_full(&self, cache: &Cache) -> Option<DefId>[src]
Use this method to get the DefId of a clean AST node, including PrimitiveTypes.
See Self::def_id for more.