[][src]Struct resast::decl::ExportSpecifier

pub struct ExportSpecifier<'a> {
    pub local: Ident<'a>,
    pub exported: Ident<'a>,
}

The name of the thing being exported this might include an alias

//no-alias
export {Thing} from 'place';
//aliased
export {Stuff as NewThing} from 'place'

Fields

local: Ident<'a>exported: Ident<'a>

Trait Implementations

impl<'a> Clone for ExportSpecifier<'a>[src]

impl<'a> Debug for ExportSpecifier<'a>[src]

impl<'a> PartialEq<ExportSpecifier<'a>> for ExportSpecifier<'a>[src]

impl<'a> StructuralPartialEq for ExportSpecifier<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ExportSpecifier<'a>

impl<'a> Send for ExportSpecifier<'a>

impl<'a> Sync for ExportSpecifier<'a>

impl<'a> Unpin for ExportSpecifier<'a>

impl<'a> UnwindSafe for ExportSpecifier<'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> 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.