Enum rustc_ap_rustc_ast::ast::AssocTyConstraintKind [−][src]
pub enum AssocTyConstraintKind { Equality { ty: P<Ty>, }, Bound { bounds: GenericBounds, }, }
Expand description
The kinds of an AssocTyConstraint
.
Variants
E.g., A = Bar
in Foo<A = Bar>
.
E.g. A: TraitA + TraitB
in Foo<A: TraitA + TraitB>
.
Show fields
Fields of Bound
bounds: GenericBounds
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AssocTyConstraintKind
impl !Send for AssocTyConstraintKind
impl !Sync for AssocTyConstraintKind
impl Unpin for AssocTyConstraintKind
impl !UnwindSafe for AssocTyConstraintKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V