Enum rustc_ast::ast::AngleBracketedArg [−][src]
pub enum AngleBracketedArg {
Arg(GenericArg),
Constraint(AssocTyConstraint),
}Expand description
Either an argument for a parameter e.g., 'a, Vec<u8>, 0,
or a constraint on an associated item, e.g., Item = String or Item: Bound.
Variants
Arg(GenericArg)Argument for a generic parameter.
Constraint(AssocTyConstraint)Constraint for an associated item.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AngleBracketedArgimpl !Send for AngleBracketedArgimpl !Sync for AngleBracketedArgimpl Unpin for AngleBracketedArgimpl !UnwindSafe for AngleBracketedArgBlanket 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: 128 bytes