[−][src]Struct rustc_mir::borrow_check::member_constraints::NllMemberConstraintIndex
Fields
private: u32Implementations
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.
pub fn add(self, other: usize) -> Self[src]
impl Clone for NllMemberConstraintIndex[src]
pub fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for NllMemberConstraintIndex[src]
impl Debug for NllMemberConstraintIndex[src]
impl<D: Decoder> Decodable<D> for NllMemberConstraintIndex[src]
impl<E: Encoder> Encodable<E> for NllMemberConstraintIndex[src]
impl Eq for NllMemberConstraintIndex[src]
impl From<NllMemberConstraintIndex> for u32[src]
pub fn from(v: NllMemberConstraintIndex) -> u32[src]
impl From<NllMemberConstraintIndex> for usize[src]
pub fn from(v: NllMemberConstraintIndex) -> usize[src]
impl From<u32> for NllMemberConstraintIndex[src]
impl From<usize> for NllMemberConstraintIndex[src]
impl Hash for NllMemberConstraintIndex[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Idx for NllMemberConstraintIndex[src]
pub fn new(value: usize) -> Self[src]
pub fn index(self) -> usize[src]
pub fn increment_by(&mut self, amount: usize)[src]
pub fn plus(self, amount: usize) -> Self[src]
impl<'tcx, R> Index<NllMemberConstraintIndex> for MemberConstraintSet<'tcx, R> where
R: Copy + Eq, [src]
R: Copy + Eq,
type Output = NllMemberConstraint<'tcx>
The returned type after indexing.
pub fn index(&self, i: NllMemberConstraintIndex) -> &NllMemberConstraint<'tcx>[src]
impl Ord for NllMemberConstraintIndex[src]
pub fn cmp(&self, other: &NllMemberConstraintIndex) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<NllMemberConstraintIndex> for NllMemberConstraintIndex[src]
pub fn eq(&self, other: &NllMemberConstraintIndex) -> bool[src]
pub fn ne(&self, other: &NllMemberConstraintIndex) -> bool[src]
impl PartialOrd<NllMemberConstraintIndex> for NllMemberConstraintIndex[src]
pub fn partial_cmp(&self, other: &NllMemberConstraintIndex) -> Option<Ordering>[src]
pub fn lt(&self, other: &NllMemberConstraintIndex) -> bool[src]
pub fn le(&self, other: &NllMemberConstraintIndex) -> bool[src]
pub fn gt(&self, other: &NllMemberConstraintIndex) -> bool[src]
pub fn ge(&self, other: &NllMemberConstraintIndex) -> bool[src]
impl Step for NllMemberConstraintIndex[src]
pub fn steps_between(start: &Self, end: &Self) -> Option<usize>[src]
pub fn forward_checked(start: Self, u: usize) -> Option<Self>[src]
pub fn backward_checked(start: Self, u: usize) -> Option<Self>[src]
pub fn forward(start: Self, count: usize) -> Self[src]
pub unsafe fn forward_unchecked(start: Self, count: usize) -> Self[src]
pub fn backward(start: Self, count: usize) -> Self[src]
pub unsafe fn backward_unchecked(start: Self, count: usize) -> Self[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.