Enum rustc_ap_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 AngleBracketedArg
impl !Send for AngleBracketedArg
impl !Sync for AngleBracketedArg
impl Unpin for AngleBracketedArg
impl !UnwindSafe for AngleBracketedArg
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