pub struct EffectiveExportSurface<'graph> { /* private fields */ }Expand description
One namespace-specific export exposed by a module and its effective binding.
Implementations§
Source§impl<'graph> EffectiveExportSurface<'graph>
impl<'graph> EffectiveExportSurface<'graph>
Sourcepub const fn binding(self) -> EffectiveExportBinding
pub const fn binding(self) -> EffectiveExportBinding
Canonical binding exposed by the requested module/name/namespace.
Sourcepub const fn namespace(self) -> ExportNamespace
pub const fn namespace(self) -> ExportNamespace
Namespace selected for this surface.
Sourcepub const fn export(self) -> Option<&'graph ExportSymbol>
pub const fn export(self) -> Option<&'graph ExportSymbol>
Reference-bearing graph export selected for this surface.
Direct declarations use their origin export. Named re-exports use their single barrel surface while references remain namespace-specific; namespace objects and implicit SFC defaults have no declaration export.
Sourcepub const fn origin(self) -> Option<EffectiveExportOrigin<'graph>>
pub const fn origin(self) -> Option<EffectiveExportOrigin<'graph>>
Direct declaration that owns this binding, when one exists.
Trait Implementations§
Source§impl<'graph> Clone for EffectiveExportSurface<'graph>
impl<'graph> Clone for EffectiveExportSurface<'graph>
impl<'graph> Copy for EffectiveExportSurface<'graph>
Auto Trait Implementations§
impl<'graph> Freeze for EffectiveExportSurface<'graph>
impl<'graph> RefUnwindSafe for EffectiveExportSurface<'graph>
impl<'graph> Send for EffectiveExportSurface<'graph>
impl<'graph> Sync for EffectiveExportSurface<'graph>
impl<'graph> Unpin for EffectiveExportSurface<'graph>
impl<'graph> UnsafeUnpin for EffectiveExportSurface<'graph>
impl<'graph> UnwindSafe for EffectiveExportSurface<'graph>
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