[][src]Enum ra_ap_syntax::ast::AssocItem

pub enum AssocItem {
    Const(Const),
    Fn(Fn),
    MacroCall(MacroCall),
    TypeAlias(TypeAlias),
}

Variants

Const(Const)
Fn(Fn)
MacroCall(MacroCall)
TypeAlias(TypeAlias)

Trait Implementations

impl AstNode for AssocItem[src]

impl AttrsOwner for AssocItem[src]

impl Clone for AssocItem[src]

impl Debug for AssocItem[src]

impl Display for AssocItem[src]

impl Eq for AssocItem[src]

impl From<Const> for AssocItem[src]

impl From<Fn> for AssocItem[src]

impl From<MacroCall> for AssocItem[src]

impl From<TypeAlias> for AssocItem[src]

impl Hash for AssocItem[src]

impl NameOwner for AssocItem[src]

impl PartialEq<AssocItem> for AssocItem[src]

impl StructuralEq for AssocItem[src]

impl StructuralPartialEq for AssocItem[src]

Auto Trait Implementations

impl !RefUnwindSafe for AssocItem

impl !Send for AssocItem

impl !Sync for AssocItem

impl Unpin for AssocItem

impl !UnwindSafe for AssocItem

Blanket Implementations

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

impl<N> AstNodeEdit for N where
    N: AstNode + Clone
[src]

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

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

impl<T> From<T> 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> ToString for T where
    T: Display + ?Sized
[src]

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.