[][src]Struct binjs::specialized::es6::ast::Import

pub struct Import {
    pub module_specifier: SharedString,
    pub default_binding: Option<BindingIdentifier>,
    pub named_imports: Vec<ImportSpecifier>,
}

Implementation of interface Import.

Fields

module_specifier: SharedStringdefault_binding: Option<BindingIdentifier>named_imports: Vec<ImportSpecifier>

Trait Implementations

impl Clone for Import[src]

impl Debug for Import[src]

impl Default for Import[src]

impl<R> Deserialization<Import> for Deserializer<R> where
    R: TokenReader
[src]

impl<'de> Deserialize<'de> for Import[src]

impl<'a> From<&'a mut Import> for ViewMutImport<'a>[src]

impl From<Import> for ImportDeclaration[src]

impl From<Import> for ExportDeclarationOrImportDeclarationOrStatement[src]

impl<R> InnerDeserialization<Import> for Deserializer<R> where
    R: TokenReader
[src]

impl Node for Import[src]

Make it possible to downcast/upcast between Import and binjs_shared::ast::Node.

fn name(&self) -> &'static str[src]

The name of this node. Used mostly for debugging purposes.

impl PartialEq<Import> for Import[src]

impl<W> Serialization<Import> for Serializer<W> where
    W: TokenWriter
[src]

impl Serialize for Import[src]

impl StructuralPartialEq for Import[src]

impl<'a> Walker<'a> for Import[src]

type Output = Import

Auto Trait Implementations

impl !RefUnwindSafe for Import

impl !Send for Import

impl !Sync for Import

impl Unpin for Import

impl UnwindSafe for Import

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]