[][src]Enum rustc_ap_rustc_ast::ast::UintTy

pub enum UintTy {
    Usize,
    U8,
    U16,
    U32,
    U64,
    U128,
}

Variants

Usize
U8
U16
U32
U64
U128

Methods

impl UintTy[src]

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

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

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

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

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

Trait Implementations

impl Clone for UintTy[src]

impl Copy for UintTy[src]

impl Debug for UintTy[src]

impl Decodable for UintTy[src]

impl Encodable for UintTy[src]

impl Eq for UintTy[src]

impl Hash for UintTy[src]

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

impl Ord for UintTy[src]

impl PartialEq<UintTy> for UintTy[src]

impl PartialOrd<UintTy> for UintTy[src]

impl StructuralEq for UintTy[src]

impl StructuralPartialEq for UintTy[src]

Auto Trait Implementations

impl RefUnwindSafe for UintTy

impl Send for UintTy

impl Sync for UintTy

impl Unpin for UintTy

impl UnwindSafe for UintTy

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.