[−][src]Struct rustc_session::VariantInfo

pub struct VariantInfo {
    pub name: Option<String>,
    pub kind: SizeKind,
    pub size: u64,
    pub align: u64,
    pub fields: Vec<FieldInfo>,
}

Fields

name: Option<String>kind: SizeKindsize: u64align: u64fields: Vec<FieldInfo>

Trait Implementations

impl Clone for VariantInfo[src]

impl Debug for VariantInfo[src]

impl Eq for VariantInfo[src]

impl Hash for VariantInfo[src]

impl PartialEq<VariantInfo> for VariantInfo[src]

impl StructuralEq for VariantInfo[src]

impl StructuralPartialEq for VariantInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for VariantInfo

impl Send for VariantInfo

impl Sync for VariantInfo

impl Unpin for VariantInfo

impl UnwindSafe for VariantInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.