[][src]Struct swc_ecma_transforms::util::UsageFinder

pub struct UsageFinder<'a> { /* fields omitted */ }

Finds usage of ident

Methods

impl<'a> UsageFinder<'a>[src]

pub fn find<N>(ident: &'a Ident, node: &N) -> bool where
    N: VisitWith<UsageFinder<'a>>, 
[src]

Trait Implementations

impl<'a> Visit<Ident> for UsageFinder<'a>[src]

impl<'a> Visit<MemberExpr> for UsageFinder<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for UsageFinder<'a>

impl<'a> Send for UsageFinder<'a>

impl<'a> Sync for UsageFinder<'a>

impl<'a> Unpin for UsageFinder<'a>

impl<'a> UnwindSafe for UsageFinder<'a>

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> Erased for T

impl<T, F> Fold<T> for F where
    T: FoldWith<F>, 
[src]

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

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

impl<P> Pass for P where
    P: Fold<Module> + ?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.

impl<T, F> Visit<T> for F where
    T: VisitWith<F> + ?Sized
[src]

impl<T, F> VisitMut<T> for F where
    T: VisitMutWith<F> + ?Sized
[src]