Enum 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: GenericBoundsTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AssocTyConstraintKindimpl !Send for AssocTyConstraintKindimpl !Sync for AssocTyConstraintKindimpl Unpin for AssocTyConstraintKindimpl !UnwindSafe for AssocTyConstraintKindBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes