pub struct OutgoingEdgeSummary<'a> {
pub target: FileId,
pub all_type_only: bool,
pub span_start: Option<u32>,
pub symbols: &'a [ImportedSymbol],
}Expand description
One outgoing edge that runs its target, from
ModuleGraph::outgoing_edge_summaries.
Fields§
§target: FileIdThe imported module.
all_type_only: boolWhether every symbol that loads the target is type-only, so the build erases the import.
span_start: Option<u32>Byte offset of the first value symbol that loads the target, or of the first loading symbol when all of them are type-only.
symbols: &'a [ImportedSymbol]Every symbol of the edge, also the symbols that do not load the
target. Filter with ImportedSymbol::loads_target.
Trait Implementations§
Source§impl<'a> Clone for OutgoingEdgeSummary<'a>
impl<'a> Clone for OutgoingEdgeSummary<'a>
impl<'a> Copy for OutgoingEdgeSummary<'a>
Auto Trait Implementations§
impl<'a> Freeze for OutgoingEdgeSummary<'a>
impl<'a> RefUnwindSafe for OutgoingEdgeSummary<'a>
impl<'a> Send for OutgoingEdgeSummary<'a>
impl<'a> Sync for OutgoingEdgeSummary<'a>
impl<'a> Unpin for OutgoingEdgeSummary<'a>
impl<'a> UnsafeUnpin for OutgoingEdgeSummary<'a>
impl<'a> UnwindSafe for OutgoingEdgeSummary<'a>
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