[][src]Struct ra_ap_hir_expand::hygiene::Hygiene

pub struct Hygiene { /* fields omitted */ }

Implementations

impl Hygiene[src]

pub fn new(db: &dyn AstDatabase, file_id: HirFileId) -> Hygiene[src]

pub fn new_unhygienic() -> Hygiene[src]

pub fn name_ref_to_name(&self, name_ref: NameRef) -> Either<Name, CrateId>[src]

pub fn local_inner_macros(&self) -> Option<CrateId>[src]

Trait Implementations

impl Clone for Hygiene[src]

impl Debug for Hygiene[src]

Auto Trait Implementations

impl RefUnwindSafe for Hygiene

impl Send for Hygiene

impl Sync for Hygiene

impl Unpin for Hygiene

impl UnwindSafe for Hygiene

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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, 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.