Enum ra_ap_hir::GenericParam[][src]

pub enum GenericParam {
    TypeParam(TypeParam),
    LifetimeParam(LifetimeParam),
    ConstParam(ConstParam),
}

Variants

TypeParam(TypeParam)
LifetimeParam(LifetimeParam)
ConstParam(ConstParam)

Implementations

impl GenericParam[src]

pub fn module(self, db: &dyn HirDatabase) -> Module[src]

pub fn name(self, db: &dyn HirDatabase) -> Name[src]

Trait Implementations

impl Clone for GenericParam[src]

impl Copy for GenericParam[src]

impl Debug for GenericParam[src]

impl Eq for GenericParam[src]

impl From<ConstParam> for GenericParam[src]

impl From<GenericParamId> for GenericParam[src]

impl From<LifetimeParam> for GenericParam[src]

impl From<TypeParam> for GenericParam[src]

impl HasAttrs for GenericParam[src]

impl Hash for GenericParam[src]

impl HirDisplay for GenericParam[src]

impl PartialEq<GenericParam> for GenericParam[src]

impl StructuralEq for GenericParam[src]

impl StructuralPartialEq for GenericParam[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T

impl<T> CloneAny for T where
    T: Any + Clone

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.