pub enum SourceExportBinding {
Unresolved,
LocalDeclaration(usize),
AmbiguousDeclarations(Arc<[usize]>),
UnresolvedDeclarations(Arc<[usize]>),
ReExport(ImportReference),
RustReExport(Arc<SourceRustUse>),
}Expand description
Static declaration or forwarding source of one source-owned module export slot.
Variants§
Unresolved
Export syntax exists but does not prove a declaration or forwarding target.
LocalDeclaration(usize)
A declaration in the exporting source owns this slot.
AmbiguousDeclarations(Arc<[usize]>)
Indistinguishable declaration metadata cannot establish one export target.
UnresolvedDeclarations(Arc<[usize]>)
Declared export owners exist, but this binding does not prove a callable target.
Retain their ordinals to prevent raw exported metadata from re-admitting an unproved variable or destructuring name through fallback.
ReExport(ImportReference)
An explicit static module reference forwards this exported name.
RustReExport(Arc<SourceRustUse>)
An explicit Rust pub-use retains its complete path and module owner.
Trait Implementations§
Source§impl Clone for SourceExportBinding
impl Clone for SourceExportBinding
Source§fn clone(&self) -> SourceExportBinding
fn clone(&self) -> SourceExportBinding
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 SourceExportBinding
impl Debug for SourceExportBinding
impl Eq for SourceExportBinding
Source§impl PartialEq for SourceExportBinding
impl PartialEq for SourceExportBinding
Source§fn eq(&self, other: &SourceExportBinding) -> bool
fn eq(&self, other: &SourceExportBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceExportBinding
Auto Trait Implementations§
impl Freeze for SourceExportBinding
impl RefUnwindSafe for SourceExportBinding
impl Send for SourceExportBinding
impl Sync for SourceExportBinding
impl Unpin for SourceExportBinding
impl UnsafeUnpin for SourceExportBinding
impl UnwindSafe for SourceExportBinding
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.