Struct rustc::middle::ty::ParamBounds[src]
pub struct ParamBounds {
pub builtin_bounds: BuiltinBounds,
pub trait_bounds: Vec<Rc<TraitRef>>,
}Fields
builtin_bounds | |
trait_bounds |
pub struct ParamBounds {
pub builtin_bounds: BuiltinBounds,
pub trait_bounds: Vec<Rc<TraitRef>>,
}builtin_bounds | |
trait_bounds |
impl TypeFoldable for ParamBoundsfn fold_with<F: TypeFolder>(&self, folder: &mut F) -> ParamBoundsimpl Repr for ParamBoundsimpl<__S: Writer> Hash<__S> for ParamBoundsfn hash(&self, __arg_0: &mut __S)impl Eq for ParamBoundsfn assert_receiver_is_total_eq(&self)impl PartialEq for ParamBoundsfn eq(&self, __arg_0: &ParamBounds) -> boolfn ne(&self, __arg_0: &ParamBounds) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).