[−][src]Struct rustc_mir_build::thir::pattern::PatTyProj
Fields
user_ty: CanonicalUserType<'tcx>Implementations
impl<'tcx> PatTyProj<'tcx>[src]
pub(crate) fn from_user_type(user_annotation: CanonicalUserType<'tcx>) -> Self[src]
pub(crate) fn user_ty(
self,
annotations: &mut CanonicalUserTypeAnnotations<'tcx>,
inferred_ty: Ty<'tcx>,
span: Span
) -> UserTypeProjection[src]
self,
annotations: &mut CanonicalUserTypeAnnotations<'tcx>,
inferred_ty: Ty<'tcx>,
span: Span
) -> UserTypeProjection
Trait Implementations
impl<'tcx> Clone for PatTyProj<'tcx>[src]
impl<'tcx> Copy for PatTyProj<'tcx>[src]
impl<'tcx> Debug for PatTyProj<'tcx>[src]
impl<'tcx> PartialEq<PatTyProj<'tcx>> for PatTyProj<'tcx>[src]
pub fn eq(&self, other: &PatTyProj<'tcx>) -> bool[src]
pub fn ne(&self, other: &PatTyProj<'tcx>) -> bool[src]
impl<'tcx> PatternFoldable<'tcx> for PatTyProj<'tcx>[src]
pub(crate) fn super_fold_with<F: PatternFolder<'tcx>>(&self, _: &mut F) -> Self[src]
pub(crate) fn fold_with<F: PatternFolder<'tcx>>(&self, folder: &mut F) -> Self[src]
impl<'tcx> StructuralPartialEq for PatTyProj<'tcx>[src]
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for PatTyProj<'tcx>
impl<'tcx> !Send for PatTyProj<'tcx>
impl<'tcx> !Sync for PatTyProj<'tcx>
impl<'tcx> Unpin for PatTyProj<'tcx>
impl<'tcx> !UnwindSafe for PatTyProj<'tcx>
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<'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> 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>,