[−][src]Enum rustc_ast::ast::UintTy

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

Variants

Usize
U8
U16
U32
U64
U128

Implementations

impl UintTy[src]

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

pub fn name(&self) -> Symbol[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<__D: Decoder> Decodable<__D> for UintTy[src]

impl<__E: Encoder> Encodable<__E> 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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.