Struct rustdoc::clean::ExternalCrate [−][src]
pub struct ExternalCrate {
pub name: String,
pub src: FileName,
pub attrs: Attributes,
pub primitives: Vec<(DefId, PrimitiveType, Attributes)>,
pub keywords: Vec<(DefId, String, Attributes)>,
}Fields
name: String
src: FileName
attrs: Attributes
primitives: Vec<(DefId, PrimitiveType, Attributes)>
keywords: Vec<(DefId, String, Attributes)>
Trait Implementations
impl Clone for ExternalCrate[src]
impl Clone for ExternalCratefn clone(&self) -> ExternalCrate[src]
fn clone(&self) -> ExternalCrateReturns 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 Encodable for ExternalCrate[src]
impl Encodable for ExternalCratefn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Decodable for ExternalCrate[src]
impl Decodable for ExternalCratefn decode<__D: Decoder>(d: &mut __D) -> Result<ExternalCrate, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<ExternalCrate, __D::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Debug for ExternalCrate[src]
impl Debug for ExternalCratefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clean<ExternalCrate> for CrateNum[src]
impl Clean<ExternalCrate> for CrateNumfn clean(&self, cx: &DocContext) -> ExternalCrate[src]
fn clean(&self, cx: &DocContext) -> ExternalCrateAuto Trait Implementations
impl !Send for ExternalCrate
impl !Send for ExternalCrateimpl !Sync for ExternalCrate
impl !Sync for ExternalCrate