pub struct OutboundRow {
pub file: String,
pub line: usize,
pub to_file: String,
pub to: String,
pub heuristic: bool,
pub tier: Option<HeuristicTier>,
pub source: String,
pub occurrence_index: Option<usize>,
}Expand description
One outbound-table row: file/line of the referencing site, to_file/to
of the target, then heuristic and source (same omit-when-empty rule as
InboundRow). source is read at the site actually making the reference
– for an outbound edge that is a line in the def’s own file, not the
target’s.
Fields§
§file: StringThe file value.
line: usizeThe line value.
to_file: StringThe to file value.
to: StringThe to value.
heuristic: boolThe heuristic value.
tier: Option<HeuristicTier>Which heuristic tier stands behind this row, same rule as
InboundRow::tier.
source: StringThe source value.
occurrence_index: Option<usize>Same rule as InboundRow::occurrence_index, scoped to this table.
Trait Implementations§
Source§impl Clone for OutboundRow
impl Clone for OutboundRow
Source§impl Debug for OutboundRow
impl Debug for OutboundRow
Source§impl PartialEq for OutboundRow
impl PartialEq for OutboundRow
impl StructuralPartialEq for OutboundRow
Auto Trait Implementations§
impl Freeze for OutboundRow
impl RefUnwindSafe for OutboundRow
impl Send for OutboundRow
impl Sync for OutboundRow
impl Unpin for OutboundRow
impl UnsafeUnpin for OutboundRow
impl UnwindSafe for OutboundRow
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> 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