Enum syntex_syntax::ast::TyParamBound
[−]
[src]
pub enum TyParamBound { TraitTyParamBound(PolyTraitRef, TraitBoundModifier), RegionTyParamBound(Lifetime), }
The AST represents all type param bounds as types. typeck::collect::compute_bounds matches these against the "special" built-in traits (see middle::lang_items) and detects Copy, Send and Sync.
Variants
TraitTyParamBound | |
RegionTyParamBound |