[][src]Enum ra_ap_hir_def::item_tree::AttrOwner

pub enum AttrOwner {
    ModItem(ModItem),
    TopLevel,
    Variant(Idx<Variant>),
    Field(Idx<Field>),
}

Variants

ModItem(ModItem)

Attributes on an item.

TopLevel

Inner attributes of the source file.

Variant(Idx<Variant>)
Field(Idx<Field>)

Trait Implementations

impl Debug for AttrOwner[src]

impl Eq for AttrOwner[src]

impl From<Idx<Field>> for AttrOwner[src]

impl From<Idx<Variant>> for AttrOwner[src]

impl From<ModItem> for AttrOwner[src]

impl Hash for AttrOwner[src]

impl PartialEq<AttrOwner> for AttrOwner[src]

impl StructuralEq for AttrOwner[src]

impl StructuralPartialEq for AttrOwner[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

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, U> Into<U> for T where
    U: From<T>, 
[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.