Struct resast::decl::ExportSpecifier
source · [−]Expand description
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
sourceimpl<'a> Clone for ExportSpecifier<'a>
impl<'a> Clone for ExportSpecifier<'a>
sourcefn clone(&self) -> ExportSpecifier<'a>
fn clone(&self) -> ExportSpecifier<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ExportSpecifier<'a>
impl<'a> Debug for ExportSpecifier<'a>
sourceimpl<'a> From<ExportSpecifier<'a>> for ExportSpecifier<'a>
impl<'a> From<ExportSpecifier<'a>> for ExportSpecifier<'a>
sourcefn from(other: ExportSpecifier<'a>) -> Self
fn from(other: ExportSpecifier<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<ExportSpecifier<'a>> for ExportSpecifier<'a>
impl<'a> PartialEq<ExportSpecifier<'a>> for ExportSpecifier<'a>
sourcefn eq(&self, other: &ExportSpecifier<'a>) -> bool
fn eq(&self, other: &ExportSpecifier<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> StructuralPartialEq for ExportSpecifier<'a>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more