Struct rustc_symbol_mangling::ty::ConstnessAnd [−][src]
pub struct ConstnessAnd<T> {
pub constness: BoundConstness,
pub value: T,
}Fields
constness: BoundConstnessvalue: TAuto Trait Implementations
impl<T> RefUnwindSafe for ConstnessAnd<T> where
T: RefUnwindSafe,
impl<T> Send for ConstnessAnd<T> where
T: Send,
impl<T> Sync for ConstnessAnd<T> where
T: Sync,
impl<T> Unpin for ConstnessAnd<T> where
T: Unpin,
impl<T> UnwindSafe for ConstnessAnd<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.