[][src]Struct swc_ecma_transforms::pass::Optional

pub struct Optional<P: Pass> { /* fields omitted */ }

Methods

impl<P: Pass> Optional<P>[src]

pub fn new(pass: P, enabled: bool) -> Self[src]

Trait Implementations

impl<P: Clone + Pass> Clone for Optional<P>[src]

impl<P: Copy + Pass> Copy for Optional<P>[src]

impl<P: Debug + Pass> Debug for Optional<P>[src]

impl<T, P> Fold<T> for Optional<P> where
    T: FoldWith<Self>,
    P: Pass + Fold<T>, 
[src]

Auto Trait Implementations

impl<P> Send for Optional<P> where
    P: Send

impl<P> Sync for Optional<P> where
    P: Sync

impl<P> Unpin for Optional<P> where
    P: Unpin

impl<P> UnwindSafe for Optional<P> where
    P: UnwindSafe

impl<P> RefUnwindSafe for Optional<P> where
    P: RefUnwindSafe

Blanket Implementations

impl<P> Pass for P where
    P: Fold<Module> + ?Sized
[src]

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

impl<T> From<T> for 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.

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

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

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

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

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

impl<T> Erased for T

impl<T> Erased for T