Enum rustdoc::clean::VariantKind [−][src]
pub enum VariantKind { CLike, Tuple(Vec<Type>), Struct(VariantStruct), }
Variants
CLike
Tuple(Vec<Type>)
Struct(VariantStruct)
Trait Implementations
impl Clone for VariantKind
[src]
impl Clone for VariantKind
fn clone(&self) -> VariantKind
[src]
fn clone(&self) -> VariantKind
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 VariantKind
[src]
impl Encodable for VariantKind
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 VariantKind
[src]
impl Decodable for VariantKind
fn decode<__D: Decoder>(d: &mut __D) -> Result<VariantKind, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<VariantKind, __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 VariantKind
[src]
impl Debug for VariantKind
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 Clean<VariantKind> for VariantData
[src]
impl Clean<VariantKind> for VariantData
fn clean(&self, cx: &DocContext) -> VariantKind
[src]
fn clean(&self, cx: &DocContext) -> VariantKind
Auto Trait Implementations
impl !Send for VariantKind
impl !Send for VariantKind
impl !Sync for VariantKind
impl !Sync for VariantKind