pub struct Export {
pub name: String,
pub local_name: Option<String>,
pub is_default: bool,
pub is_type_only: bool,
pub is_reexport: bool,
pub source_specifier: Option<String>,
}Expand description
An export declaration extracted from source code. Used during resolution (S04) to build ImportsFrom and ReExport edges.
Fields§
§name: String§local_name: Option<String>§is_default: bool§is_type_only: bool§is_reexport: bool§source_specifier: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnsafeUnpin for Export
impl UnwindSafe for Export
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