Struct rustc_metadata::schema::RenderedConst [−][src]
pub struct RenderedConst(pub String);
🔬 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?
Contains a constant which has been rendered to a String. Used by rustdoc.
Trait Implementations
impl Encodable for RenderedConst[src]
impl Encodable for RenderedConstfn 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 RenderedConst[src]
impl Decodable for RenderedConstfn decode<__D: Decoder>(d: &mut __D) -> Result<RenderedConst, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<RenderedConst, __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<'a> HashStable<StableHashingContext<'a>> for RenderedConst[src]
impl<'a> HashStable<StableHashingContext<'a>> for RenderedConstfn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)🔬 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?
Auto Trait Implementations
impl Send for RenderedConst
impl Send for RenderedConstimpl Sync for RenderedConst
impl Sync for RenderedConst