Enum rustc_ast_passes::ast_validation::BoundContext [−][src]
enum BoundContext {
ImplTrait,
TraitBounds,
TraitObject,
}Expand description
A syntactic context that disallows certain kinds of bounds (e.g., ?Trait or ?const Trait).
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BoundContext
impl Send for BoundContext
impl Sync for BoundContext
impl Unpin for BoundContext
impl UnwindSafe for BoundContext
Blanket 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: 1 byte