Enum rustc_middle::ty::subst::GenericArgKind [−][src]
Variants
Lifetime(Region<'tcx>)Type(Ty<'tcx>)Const(&'tcx Const<'tcx>)Implementations
impl<'tcx> GenericArgKind<'tcx>[src]
impl<'tcx> GenericArgKind<'tcx>[src]fn pack(self) -> GenericArg<'tcx>[src]
Trait Implementations
impl<'tcx> Debug for GenericArgKind<'tcx>[src]
impl<'tcx> Debug for GenericArgKind<'tcx>[src]impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for GenericArgKind<'tcx>[src]
impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for GenericArgKind<'tcx>[src]impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for GenericArgKind<'tcx>[src]
impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for GenericArgKind<'tcx>[src]impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GenericArgKind<'tcx>[src]
impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GenericArgKind<'tcx>[src]fn hash_stable(
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)[src]
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)
impl<'tcx> Ord for GenericArgKind<'tcx>[src]
impl<'tcx> Ord for GenericArgKind<'tcx>[src]impl<'tcx> PartialEq<GenericArgKind<'tcx>> for GenericArgKind<'tcx>[src]
impl<'tcx> PartialEq<GenericArgKind<'tcx>> for GenericArgKind<'tcx>[src]fn eq(&self, other: &GenericArgKind<'tcx>) -> bool[src]
fn eq(&self, other: &GenericArgKind<'tcx>) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &GenericArgKind<'tcx>) -> bool[src]
fn ne(&self, other: &GenericArgKind<'tcx>) -> bool[src]This method tests for !=.
impl<'tcx> PartialOrd<GenericArgKind<'tcx>> for GenericArgKind<'tcx>[src]
impl<'tcx> PartialOrd<GenericArgKind<'tcx>> for GenericArgKind<'tcx>[src]fn partial_cmp(&self, other: &GenericArgKind<'tcx>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &GenericArgKind<'tcx>) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<'tcx> Eq for GenericArgKind<'tcx>[src]
impl<'tcx> StructuralEq for GenericArgKind<'tcx>[src]
impl<'tcx> StructuralPartialEq for GenericArgKind<'tcx>[src]
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for GenericArgKind<'tcx>
impl<'tcx> !Send for GenericArgKind<'tcx>
impl<'tcx> !Sync for GenericArgKind<'tcx>
impl<'tcx> Unpin for GenericArgKind<'tcx>
impl<'tcx> !UnwindSafe for GenericArgKind<'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,