Enum ra_ap_syntax::ast::GenericParam [−][src]
pub enum GenericParam {
ConstParam(ConstParam),
LifetimeParam(LifetimeParam),
TypeParam(TypeParam),
}
Variants
ConstParam(ConstParam)
Tuple Fields of ConstParam
0: ConstParam
LifetimeParam(LifetimeParam)
Tuple Fields of LifetimeParam
TypeParam(TypeParam)
Tuple Fields of TypeParam
0: TypeParam
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for GenericParam
impl !Send for GenericParam
impl !Sync for GenericParam
impl Unpin for GenericParam
impl !UnwindSafe for GenericParam
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.