[][src]Struct rustc_middle::ty::sty::RegionVid

pub struct RegionVid {
    private: u32,
}

Fields

private: u32

Implementations

impl RegionVid[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 RegionVid[src]

type Output = Self

The resulting type after applying the + operator.

impl Atom for RegionVid[src]

impl Clone for RegionVid[src]

impl Copy for RegionVid[src]

impl Debug for RegionVid[src]

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

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

impl Eq for RegionVid[src]

impl From<RegionVid> for u32[src]

impl From<RegionVid> for usize[src]

impl From<u32> for RegionVid[src]

impl From<usize> for RegionVid[src]

impl Hash for RegionVid[src]

impl<'a> HashStable<StableHashingContext<'a>> for RegionVid[src]

impl Idx for RegionVid[src]

impl<'tcx> Lift<'tcx> for RegionVid[src]

type Lifted = Self

impl Ord for RegionVid[src]

impl PartialEq<RegionVid> for RegionVid[src]

impl PartialOrd<RegionVid> for RegionVid[src]

impl Step for RegionVid[src]

impl StructuralEq for RegionVid[src]

impl StructuralPartialEq for RegionVid[src]

impl<'tcx> TypeFoldable<'tcx> for RegionVid[src]

impl UnifyKey for RegionVid[src]

type Value = RegionVidKey

Auto Trait Implementations

impl RefUnwindSafe for RegionVid

impl Send for RegionVid

impl Sync for RegionVid

impl Unpin for RegionVid

impl UnwindSafe for RegionVid

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy
[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<Ctxt, T> DepNodeParams<Ctxt> for T where
    Ctxt: DepContext,
    T: HashStable<<Ctxt as DepContext>::StableHashingContext> + Debug
[src]

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

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

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

type Error = !

impl<'tcx, T> Subst<'tcx> for T where
    T: TypeFoldable<'tcx>, 
[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]