Struct rustc_middle::ty::InlineConstSubstsParts
source · pub struct InlineConstSubstsParts<'tcx, T> {
pub parent_substs: &'tcx [GenericArg<'tcx>],
pub ty: T,
}Expand description
Struct returned by split().
Fields
parent_substs: &'tcx [GenericArg<'tcx>]ty: TAuto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for InlineConstSubstsParts<'tcx, T>
impl<'tcx, T> !Send for InlineConstSubstsParts<'tcx, T>
impl<'tcx, T> !Sync for InlineConstSubstsParts<'tcx, T>
impl<'tcx, T> Unpin for InlineConstSubstsParts<'tcx, T>where
T: Unpin,
impl<'tcx, T> !UnwindSafe for InlineConstSubstsParts<'tcx, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, R> InternIteratorElement<T, R> for T
impl<T, R> InternIteratorElement<T, R> for T
type Output = R
fn intern_with<I, F>(iter: I, f: F) -> <T as InternIteratorElement<T, R>>::Outputwhere
I: Iterator<Item = T>,
F: FnOnce(&[T]) -> R,
sourceimpl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
sourceimpl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
default fn from_cycle_error(tcx: Tcx, _: &[QueryInfo]) -> 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.