[−][src]Struct rustc_middle::ty::sty::ConstVid
Fields
index: u32phantom: PhantomData<&'tcx ()>Trait Implementations
impl<'tcx> Clone for ConstVid<'tcx>[src]
impl<'tcx> Copy for ConstVid<'tcx>[src]
impl<'tcx> Debug for ConstVid<'tcx>[src]
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for ConstVid<'tcx>[src]
impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for ConstVid<'tcx>[src]
impl<'tcx> Eq for ConstVid<'tcx>[src]
impl<'tcx> Hash for ConstVid<'tcx>[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<'a, 'tcx> HashStable<StableHashingContext<'a>> for ConstVid<'tcx>[src]
pub fn hash_stable(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)[src]
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)
impl<'tcx> Ord for ConstVid<'tcx>[src]
pub fn cmp(&self, other: &ConstVid<'tcx>) -> 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<'tcx> PartialEq<ConstVid<'tcx>> for ConstVid<'tcx>[src]
pub fn eq(&self, other: &ConstVid<'tcx>) -> bool[src]
pub fn ne(&self, other: &ConstVid<'tcx>) -> bool[src]
impl<'tcx> PartialOrd<ConstVid<'tcx>> for ConstVid<'tcx>[src]
pub fn partial_cmp(&self, other: &ConstVid<'tcx>) -> Option<Ordering>[src]
pub fn lt(&self, other: &ConstVid<'tcx>) -> bool[src]
pub fn le(&self, other: &ConstVid<'tcx>) -> bool[src]
pub fn gt(&self, other: &ConstVid<'tcx>) -> bool[src]
pub fn ge(&self, other: &ConstVid<'tcx>) -> bool[src]
impl<'tcx> StructuralEq for ConstVid<'tcx>[src]
impl<'tcx> StructuralPartialEq for ConstVid<'tcx>[src]
impl<'tcx> UnifyKey for ConstVid<'tcx>[src]
type Value = ConstVarValue<'tcx>
pub fn index(&self) -> u32[src]
pub fn from_index(i: u32) -> Self[src]
pub fn tag() -> &'static str[src]
pub fn order_roots(
a: Self,
a_value: &Self::Value,
b: Self,
b_value: &Self::Value
) -> Option<(Self, Self)>
a: Self,
a_value: &Self::Value,
b: Self,
b_value: &Self::Value
) -> Option<(Self, Self)>
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for ConstVid<'tcx>
impl<'tcx> Send for ConstVid<'tcx>
impl<'tcx> Sync for ConstVid<'tcx>
impl<'tcx> Unpin for ConstVid<'tcx>
impl<'tcx> UnwindSafe for ConstVid<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]
T: Copy,
pub fn allocate_on(Self, &'a Arena<'tcx>) -> &'a mut T[src]
pub fn allocate_from_iter(
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T][src]
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T]
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<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
pub fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
pub fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
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.