pub struct ExportDeclaration {
pub node: NodeIndex,
pub bindings: Vec<ExportedBinding>,
pub is_type_only: bool,
pub from_module: Option<String>,
pub start: u32,
pub end: u32,
}Expand description
Information about an export declaration
Fields§
§node: NodeIndexAST node index
bindings: Vec<ExportedBinding>Individual bindings from this export
is_type_only: boolWhether the entire export is type-only
from_module: Option<String>For re-exports, the source module
start: u32Source position (start)
end: u32Source position (end)
Trait Implementations§
Source§impl Clone for ExportDeclaration
impl Clone for ExportDeclaration
Source§fn clone(&self) -> ExportDeclaration
fn clone(&self) -> ExportDeclaration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExportDeclaration
impl RefUnwindSafe for ExportDeclaration
impl Send for ExportDeclaration
impl Sync for ExportDeclaration
impl Unpin for ExportDeclaration
impl UnsafeUnpin for ExportDeclaration
impl UnwindSafe for ExportDeclaration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more