[][src]Enum rustc_ap_rustc_ast::ast::IntTy

pub enum IntTy {
    Isize,
    I8,
    I16,
    I32,
    I64,
    I128,
}

Variants

Isize
I8
I16
I32
I64
I128

Methods

impl IntTy[src]

pub fn name_str(&self) -> &'static str[src]

pub fn name(&self) -> Symbol[src]

pub fn val_to_string(&self, val: i128) -> String[src]

pub fn bit_width(&self) -> Option<u64>[src]

pub fn normalize(&self, target_width: u32) -> Self[src]

Trait Implementations

impl Clone for IntTy[src]

impl Copy for IntTy[src]

impl Debug for IntTy[src]

impl Decodable for IntTy[src]

impl Encodable for IntTy[src]

impl Eq for IntTy[src]

impl Hash for IntTy[src]

impl<__CTX> HashStable<__CTX> for IntTy where
    __CTX: HashStableContext
[src]

impl Ord for IntTy[src]

impl PartialEq<IntTy> for IntTy[src]

impl PartialOrd<IntTy> for IntTy[src]

impl StructuralEq for IntTy[src]

impl StructuralPartialEq for IntTy[src]

Auto Trait Implementations

impl RefUnwindSafe for IntTy

impl Send for IntTy

impl Sync for IntTy

impl Unpin for IntTy

impl UnwindSafe for IntTy

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<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<E> SpecializationError for E[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.