Enum rustc_borrowck::ClearCrossCrate [−][src]
pub(crate) enum ClearCrossCrate<T> {
Clear,
Set(T),
}Variants
Clear
Set(T)
Auto Trait Implementations
impl<T> RefUnwindSafe for ClearCrossCrate<T> where
T: RefUnwindSafe,
impl<T> Send for ClearCrossCrate<T> where
T: Send,
impl<T> Sync for ClearCrossCrate<T> where
T: Sync,
impl<T> Unpin for ClearCrossCrate<T> where
T: Unpin,
impl<T> UnwindSafe for ClearCrossCrate<T> where
T: UnwindSafe,
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.