Struct rustc::middle::ty::ParamBounds
[−]
[src]
pub struct ParamBounds<'tcx> {
pub region_bounds: Vec<Region>,
pub builtin_bounds: BuiltinBounds,
pub trait_bounds: Vec<PolyTraitRef<'tcx>>,
pub projection_bounds: Vec<PolyProjectionPredicate<'tcx>>,
}Unstable
Bounds suitable for a named type parameter like A in fn foo<A>
as well as the existential type parameter in an object type.
Fields
region_bounds | Unstable |
builtin_bounds | Unstable |
trait_bounds | Unstable |
projection_bounds | Unstable |
Methods
impl<'tcx> ParamBounds<'tcx>
fn empty() -> ParamBounds<'tcx>
Unstable