Enum rustc::ty::layout::Primitive [] [src]

pub enum Primitive {
    Int(Integer),
    F32,
    F64,
    Pointer,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fundamental unit of memory access and layout.

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)
🔬 This is a nightly-only experimental API. (rustc_private)

Methods

impl Primitive
[src]

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

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

Trait Implementations

impl Copy for Primitive
[src]

impl Clone for Primitive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Primitive
[src]

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

This method tests for !=.

impl Eq for Primitive
[src]

impl Hash for Primitive
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Primitive
[src]

Formats the value using the given formatter.