pub trait GenericArgExt<'tcx> { // Required method fn as_type(&self) -> Option<Ty<'tcx>>; }
Generic arguments can reference non-type things (in particular constants and lifetimes). If it is a type, then this extracts that type, otherwise None.
None