[−][src]Struct rustc_mir::borrow_check::type_check::liveness::local_use_map::AppearanceIndex

pub struct AppearanceIndex {
    private: u32,
}

Fields

private: u32

Implementations

impl AppearanceIndex[src]

pub const MAX_AS_U32: u32[src]

pub const MAX: Self[src]

pub const fn from_usize(value: usize) -> Self[src]

pub const fn from_u32(value: u32) -> Self[src]

pub const unsafe fn from_u32_unchecked(value: u32) -> Self[src]

pub const fn index(self) -> usize[src]

Extracts the value of this index as an integer.

pub const fn as_u32(self) -> u32[src]

Extracts the value of this index as a u32.

pub const fn as_usize(self) -> usize[src]

Extracts the value of this index as a usize.

Trait Implementations

impl Add<usize> for AppearanceIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for AppearanceIndex[src]

impl Copy for AppearanceIndex[src]

impl Debug for AppearanceIndex[src]

impl<D: Decoder> Decodable<D> for AppearanceIndex[src]

impl<E: Encoder> Encodable<E> for AppearanceIndex[src]

impl Eq for AppearanceIndex[src]

impl From<AppearanceIndex> for u32[src]

impl From<AppearanceIndex> for usize[src]

impl From<u32> for AppearanceIndex[src]

impl From<usize> for AppearanceIndex[src]

impl Hash for AppearanceIndex[src]

impl Idx for AppearanceIndex[src]

impl Ord for AppearanceIndex[src]

impl PartialEq<AppearanceIndex> for AppearanceIndex[src]

impl PartialOrd<AppearanceIndex> for AppearanceIndex[src]

impl Step for AppearanceIndex[src]

impl StructuralEq for AppearanceIndex[src]

impl StructuralPartialEq for AppearanceIndex[src]

Auto Trait Implementations

impl RefUnwindSafe for AppearanceIndex

impl Send for AppearanceIndex

impl Sync for AppearanceIndex

impl Unpin for AppearanceIndex

impl UnwindSafe for AppearanceIndex

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.

impl<T> WithConstness for T[src]