Struct rustc_typeck::ty::CoercePredicate [−][src]
Expand description
Encodes that we have to coerce from the a type to the b type.
Fields
a: &'tcx TyS<'tcx>b: &'tcx TyS<'tcx>Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for CoercePredicate<'tcx>
impl<'tcx> !Send for CoercePredicate<'tcx>
impl<'tcx> !Sync for CoercePredicate<'tcx>
impl<'tcx> Unpin for CoercePredicate<'tcx>
impl<'tcx> !UnwindSafe for CoercePredicate<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes