pub struct ExportNamedSpecifier {
pub span: Span,
pub orig: ModuleExportName,
pub exported: Option<ModuleExportName>,
pub is_type_only: bool,
}Fields§
§span: Span§orig: ModuleExportNamefoo in export { foo as bar }
exported: Option<ModuleExportName>Some(bar) in export { foo as bar }
is_type_only: booltype in export { type foo as bar }
Trait Implementations§
Source§impl Clone for ExportNamedSpecifier
impl Clone for ExportNamedSpecifier
Source§fn clone(&self) -> ExportNamedSpecifier
fn clone(&self) -> ExportNamedSpecifier
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportNamedSpecifier
impl Debug for ExportNamedSpecifier
Source§impl EqIgnoreSpan for ExportNamedSpecifier
impl EqIgnoreSpan for ExportNamedSpecifier
fn eq_ignore_span(&self, other: &ExportNamedSpecifier) -> bool
Source§impl<V> FoldWith<V> for ExportNamedSpecifier
impl<V> FoldWith<V> for ExportNamedSpecifier
Source§fn fold_with(self, visitor: &mut V) -> ExportNamedSpecifier
fn fold_with(self, visitor: &mut V) -> ExportNamedSpecifier
Calls Fold::fold_export_named_specifier with self.
Source§fn fold_children_with(self, visitor: &mut V) -> ExportNamedSpecifier
fn fold_children_with(self, visitor: &mut V) -> ExportNamedSpecifier
Visit children nodes of
self`` with visitor`.Source§impl From<ExportNamedSpecifier> for ExportSpecifier
impl From<ExportNamedSpecifier> for ExportSpecifier
Source§fn from(v: ExportNamedSpecifier) -> ExportSpecifier
fn from(v: ExportNamedSpecifier) -> ExportSpecifier
Converts to this type from the input type.
Source§impl Hash for ExportNamedSpecifier
impl Hash for ExportNamedSpecifier
Source§impl Node for ExportNamedSpecifier
impl Node for ExportNamedSpecifier
Source§impl PartialEq for ExportNamedSpecifier
impl PartialEq for ExportNamedSpecifier
Source§impl Spanned for ExportNamedSpecifier
impl Spanned for ExportNamedSpecifier
Source§impl<V> VisitMutWith<V> for ExportNamedSpecifier
impl<V> VisitMutWith<V> for ExportNamedSpecifier
Source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_export_named_specifier with self.
Source§fn visit_mut_children_with(&mut self, visitor: &mut V)
fn visit_mut_children_with(&mut self, visitor: &mut V)
Visit children nodes of
self`` with visitor`.Source§impl<V> VisitWith<V> for ExportNamedSpecifier
impl<V> VisitWith<V> for ExportNamedSpecifier
Source§fn visit_with(&self, visitor: &mut V)
fn visit_with(&self, visitor: &mut V)
Calls Visit::visit_export_named_specifier with self.
Source§fn visit_children_with(&self, visitor: &mut V)
fn visit_children_with(&self, visitor: &mut V)
Visit children nodes of
self`` with visitor`.impl Eq for ExportNamedSpecifier
impl StructuralPartialEq for ExportNamedSpecifier
Auto Trait Implementations§
impl Freeze for ExportNamedSpecifier
impl RefUnwindSafe for ExportNamedSpecifier
impl Send for ExportNamedSpecifier
impl Sync for ExportNamedSpecifier
impl Unpin for ExportNamedSpecifier
impl UnwindSafe for ExportNamedSpecifier
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> ImplicitClone for Twhere
T: Clone,
impl<T> ImplicitClone for Twhere
T: Clone,
fn clone_quote_var(&self) -> Self
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> SpanExt for Twhere
T: Spanned,
impl<T> SpanExt for Twhere
T: Spanned,
fn is_synthesized(&self) -> bool
fn starts_on_new_line(&self, format: ListFormat) -> bool
Source§fn comment_range(&self) -> Span
fn comment_range(&self) -> Span
Gets a custom text range to use when emitting comments.