Enum ra_ap_hir_def::path::GenericArg [−][src]
pub enum GenericArg { Type(TypeRef), Lifetime(LifetimeRef), }
Expand description
A single generic argument.
Variants
Type(TypeRef)
Lifetime(LifetimeRef)
Trait Implementations
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.