Struct rustdoc::clean::Variant [−][src]
pub struct Variant { pub kind: VariantKind, }
Fields
kind: VariantKind
Trait Implementations
impl Clone for Variant
[src]
impl Clone for Variant
fn clone(&self) -> Variant
[src]
fn clone(&self) -> Variant
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 Encodable for Variant
[src]
impl Encodable for Variant
fn 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 Variant
[src]
impl Decodable for Variant
fn decode<__D: Decoder>(d: &mut __D) -> Result<Variant, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Variant, __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 Variant
[src]
impl Debug for Variant