Struct rustdoc::clean::Crate [−][src]
pub struct Crate { pub name: String, pub version: Option<String>, pub src: FileName, pub module: Option<Item>, pub externs: Vec<(CrateNum, ExternalCrate)>, pub primitives: Vec<(DefId, PrimitiveType, Attributes)>, pub access_levels: Arc<AccessLevels<DefId>>, pub external_traits: FxHashMap<DefId, Trait>, pub masked_crates: FxHashSet<CrateNum>, }
Fields
name: String
version: Option<String>
src: FileName
module: Option<Item>
externs: Vec<(CrateNum, ExternalCrate)>
primitives: Vec<(DefId, PrimitiveType, Attributes)>
access_levels: Arc<AccessLevels<DefId>>
external_traits: FxHashMap<DefId, Trait>
masked_crates: FxHashSet<CrateNum>
Trait Implementations
impl Clone for Crate
[src]
impl Clone for Crate
fn clone(&self) -> Crate
[src]
fn clone(&self) -> Crate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Crate
[src]
impl Debug for Crate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, 'tcx, 'rcx> Clean<Crate> for RustdocVisitor<'a, 'tcx, 'rcx>
[src]
impl<'a, 'tcx, 'rcx> Clean<Crate> for RustdocVisitor<'a, 'tcx, 'rcx>
fn clean(&self, cx: &DocContext) -> Crate
[src]
fn clean(&self, cx: &DocContext) -> Crate