[][src]Struct rustc_mir::borrow_check::member_constraints::NllMemberConstraintIndex

pub(crate) struct NllMemberConstraintIndex {
    private: u32,
}

Fields

private: u32

Implementations

impl NllMemberConstraintIndex[src]

pub(crate) const MAX_AS_U32: u32[src]

pub(crate) const MAX: Self[src]

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

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

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

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

Extracts the value of this index as an integer.

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

Extracts the value of this index as a u32.

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

Extracts the value of this index as a usize.

Trait Implementations

impl Add<usize> for NllMemberConstraintIndex[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for NllMemberConstraintIndex[src]

impl Copy for NllMemberConstraintIndex[src]

impl Debug for NllMemberConstraintIndex[src]

impl Decodable for NllMemberConstraintIndex[src]

impl Encodable for NllMemberConstraintIndex[src]

impl Eq for NllMemberConstraintIndex[src]

impl From<NllMemberConstraintIndex> for u32[src]

impl From<NllMemberConstraintIndex> for usize[src]

impl From<u32> for NllMemberConstraintIndex[src]

impl From<usize> for NllMemberConstraintIndex[src]

impl Hash for NllMemberConstraintIndex[src]

impl Idx for NllMemberConstraintIndex[src]

impl<'tcx, R> Index<NllMemberConstraintIndex> for MemberConstraintSet<'tcx, R> where
    R: Copy + Eq
[src]

type Output = NllMemberConstraint<'tcx>

The returned type after indexing.

impl Ord for NllMemberConstraintIndex[src]

impl PartialEq<NllMemberConstraintIndex> for NllMemberConstraintIndex[src]

impl PartialOrd<NllMemberConstraintIndex> for NllMemberConstraintIndex[src]

impl Step for NllMemberConstraintIndex[src]

impl StructuralEq for NllMemberConstraintIndex[src]

impl StructuralPartialEq for NllMemberConstraintIndex[src]

Auto Trait Implementations

impl RefUnwindSafe for NllMemberConstraintIndex

impl Send for NllMemberConstraintIndex

impl Sync for NllMemberConstraintIndex

impl Unpin for NllMemberConstraintIndex

impl UnwindSafe for NllMemberConstraintIndex

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> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?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]