[][src]Struct ra_ap_hir_def::item_tree::MacroCall

pub struct MacroCall {
    pub name: Option<Name>,
    pub path: ModPath,
    pub is_export: bool,
    pub is_local_inner: bool,
    pub is_builtin: bool,
    pub ast_id: FileAstId<MacroCall>,
}

Fields

name: Option<Name>

For macro_rules! declarations, this is the name of the declared macro.

path: ModPath

Path to the called macro.

is_export: bool

Has #[macro_export].

is_local_inner: bool

Has #[macro_export(local_inner_macros)].

is_builtin: bool

Has #[rustc_builtin_macro].

ast_id: FileAstId<MacroCall>

Trait Implementations

impl Clone for MacroCall[src]

impl Debug for MacroCall[src]

impl Eq for MacroCall[src]

impl ItemTreeNode for MacroCall[src]

type Source = MacroCall

impl PartialEq<MacroCall> for MacroCall[src]

impl StructuralEq for MacroCall[src]

impl StructuralPartialEq for MacroCall[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<T> CloneAny for T where
    T: Clone + Any
[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> 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.