Struct rustc::session::VariantInfo [−][src]
pub struct VariantInfo {
pub name: Option<String>,
pub kind: SizeKind,
pub size: u64,
pub align: u64,
pub fields: Vec<FieldInfo>,
}🔬 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?
Fields
name: Option<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?
kind: SizeKind
🔬 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?
size: u64
🔬 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?
align: u64
🔬 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?
fields: Vec<FieldInfo>
🔬 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?
Trait Implementations
impl Clone for VariantInfo[src]
impl Clone for VariantInfofn clone(&self) -> VariantInfo[src]
fn clone(&self) -> VariantInfoReturns 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)Performs copy-assignment from source. Read more
impl PartialEq for VariantInfo[src]
impl PartialEq for VariantInfofn eq(&self, other: &VariantInfo) -> bool[src]
fn eq(&self, other: &VariantInfo) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VariantInfo) -> bool[src]
fn ne(&self, other: &VariantInfo) -> boolThis method tests for !=.
impl Eq for VariantInfo[src]
impl Eq for VariantInfofn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Hash for VariantInfo[src]
impl Hash for VariantInfofn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for VariantInfo[src]
impl Debug for VariantInfoAuto Trait Implementations
impl Send for VariantInfo
impl Send for VariantInfoimpl Sync for VariantInfo
impl Sync for VariantInfo