Struct dprint_swc_ecma_ast_view::ExportNamedSpecifier[][src]

pub struct ExportNamedSpecifier<'a> {
    pub parent: &'a NamedExport<'a>,
    pub inner: &'a ExportNamedSpecifier,
    pub orig: &'a Ident<'a>,
    pub exported: Option<&'a Ident<'a>>,
}

Fields

parent: &'a NamedExport<'a>inner: &'a ExportNamedSpecifierorig: &'a Ident<'a>

foo in export { foo as bar }

exported: Option<&'a Ident<'a>>

Some(bar) in export { foo as bar }

Trait Implementations

impl<'a> CastableNode<'a> for ExportNamedSpecifier<'a>[src]

impl<'a> From<&'_ ExportNamedSpecifier<'a>> for Node<'a>[src]

impl<'a> NodeTrait<'a> for &'a ExportNamedSpecifier<'a>[src]

impl<'a> Spanned for ExportNamedSpecifier<'a>[src]

Auto Trait Implementations

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> Node for T where
    T: Any + ?Sized

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

impl<T> Sync for T where
    T: ?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.