[][src]Struct rustc_mir::dataflow::impls::borrows::BorrowIndex

pub struct BorrowIndex {
    private: u32,


private: u32


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

type Output = Self

The resulting type after applying the + operator.

impl Atom for BorrowIndex[src]

impl Clone for BorrowIndex[src]

impl Copy for BorrowIndex[src]

impl Debug for BorrowIndex[src]

impl Decodable for BorrowIndex[src]

impl Encodable for BorrowIndex[src]

impl Eq for BorrowIndex[src]

impl From<BorrowIndex> for u32[src]

impl From<BorrowIndex> for usize[src]

impl From<u32> for BorrowIndex[src]

impl From<usize> for BorrowIndex[src]

impl Hash for BorrowIndex[src]

impl Idx for BorrowIndex[src]

impl<'tcx> Index<BorrowIndex> for BorrowSet<'tcx>[src]

type Output = BorrowData<'tcx>

The returned type after indexing.

impl Ord for BorrowIndex[src]

impl PartialEq<BorrowIndex> for BorrowIndex[src]

impl PartialOrd<BorrowIndex> for BorrowIndex[src]

impl Step for BorrowIndex[src]

impl StructuralEq for BorrowIndex[src]

impl StructuralPartialEq for BorrowIndex[src]

Auto Trait Implementations

impl RefUnwindSafe for BorrowIndex

impl Send for BorrowIndex

impl Sync for BorrowIndex

impl Unpin for BorrowIndex

impl UnwindSafe for BorrowIndex

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Decodable for T where
    T: UseSpecializedDecodable

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]