Enum ra_ap_syntax::ast::GenericArg [−][src]
pub enum GenericArg { TypeArg(TypeArg), AssocTypeArg(AssocTypeArg), LifetimeArg(LifetimeArg), ConstArg(ConstArg), }
Variants
TypeArg(TypeArg)
AssocTypeArg(AssocTypeArg)
LifetimeArg(LifetimeArg)
ConstArg(ConstArg)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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 GenericArg
impl !Send for GenericArg
impl !Sync for GenericArg
impl Unpin for GenericArg
impl !UnwindSafe for GenericArg
Blanket Implementations
#[must_use]fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
[src]Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.