pub struct IndirectExportEntry { /* private fields */ }Expand description
A reexported export entry.
Implementations§
Source§impl IndirectExportEntry
impl IndirectExportEntry
Sourcepub fn new(
module_request: Sym,
import_name: ReExportImportName,
export_name: Sym,
attributes: Box<[ImportAttribute]>,
) -> Self
pub fn new( module_request: Sym, import_name: ReExportImportName, export_name: Sym, attributes: Box<[ImportAttribute]>, ) -> Self
Creates a new IndirectExportEntry.
Sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
Sourcepub const fn import_name(&self) -> ReExportImportName
pub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
Sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Sourcepub fn attributes(&self) -> &[ImportAttribute]
pub fn attributes(&self) -> &[ImportAttribute]
Gets the import attributes.
Trait Implementations§
Source§impl Clone for IndirectExportEntry
impl Clone for IndirectExportEntry
Source§fn clone(&self) -> IndirectExportEntry
fn clone(&self) -> IndirectExportEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndirectExportEntry
impl Debug for IndirectExportEntry
Source§impl From<IndirectExportEntry> for ExportEntry
impl From<IndirectExportEntry> for ExportEntry
Source§fn from(v: IndirectExportEntry) -> Self
fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IndirectExportEntry
impl RefUnwindSafe for IndirectExportEntry
impl Send for IndirectExportEntry
impl Sync for IndirectExportEntry
impl Unpin for IndirectExportEntry
impl UnsafeUnpin for IndirectExportEntry
impl UnwindSafe for IndirectExportEntry
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