Enum rustc::ty::AdtKind [] [src]

pub enum AdtKind {
    Struct,
    Union,
    Enum,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Copy for AdtKind
[src]

impl Clone for AdtKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AdtKind
[src]

Formats the value using the given formatter.

impl Eq for AdtKind
[src]

impl PartialEq for AdtKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.