Struct rustc_borrowck::ty::ParamEnvAnd [−][src]
pub struct ParamEnvAnd<'tcx, T> {
pub param_env: ParamEnv<'tcx>,
pub value: T,
}Fields
param_env: ParamEnv<'tcx>value: TAuto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for ParamEnvAnd<'tcx, T>
impl<'tcx, T> !Send for ParamEnvAnd<'tcx, T>
impl<'tcx, T> !Sync for ParamEnvAnd<'tcx, T>
impl<'tcx, T> Unpin for ParamEnvAnd<'tcx, T> where
T: Unpin,
impl<'tcx, T> !UnwindSafe for ParamEnvAnd<'tcx, T>
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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.