Enum rustc_typeck::hir::PrimTy [] [src]

pub enum PrimTy {
    TyInt(IntTy),
    TyUint(UintTy),
    TyFloat(FloatTy),
    TyStr,
    TyBool,
    TyChar,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Not represented directly in the AST, referred to by name through a ty_path.

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

Trait Implementations

impl Decodable for PrimTy
[src]

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

impl PartialEq<PrimTy> for PrimTy
[src]

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

This method tests for !=.

impl Hash for PrimTy
[src]

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

Feeds a slice of this type into the state provided.

impl Clone for PrimTy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for PrimTy
[src]

impl Debug for PrimTy
[src]

Formats the value using the given formatter.

impl Encodable for PrimTy
[src]

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

impl Copy for PrimTy
[src]