[−][src]Enum resast::decl::ModExport
Something exported from this module
Variants
Default(DefaultExportDecl<'a>)
export default function() {};
//or
export default 1;
Named(NamedExportDecl<'a>)
export {foo} from 'mod';
//or
export {foo as bar} from 'mod';
//or
export var foo = 1;
//or
export function bar() {
}
All(Lit<'a>)
export * from 'mod';
Trait Implementations
impl<'a> Clone for ModExport<'a>
[src]
impl<'a> Debug for ModExport<'a>
[src]
impl<'a> PartialEq<ModExport<'a>> for ModExport<'a>
[src]
impl<'a> StructuralPartialEq for ModExport<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModExport<'a>
impl<'a> Send for ModExport<'a>
impl<'a> Sync for ModExport<'a>
impl<'a> Unpin for ModExport<'a>
impl<'a> UnwindSafe for ModExport<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,