pub struct InboundRow {
pub file: String,
pub line: usize,
pub heuristic: bool,
pub source: String,
}Expand description
One inbound-table row: file and line of the referencing site, then
heuristic (whether the edge was guessed) and source (the trimmed
referencing line). An empty source is omitted from --json.
Fields§
§file: StringThe file value.
line: usizeThe line value.
heuristic: boolThe heuristic value.
source: StringThe source value.
Trait Implementations§
Source§impl Clone for InboundRow
impl Clone for InboundRow
Source§fn clone(&self) -> InboundRow
fn clone(&self) -> InboundRow
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 InboundRow
impl Debug for InboundRow
Source§impl PartialEq for InboundRow
impl PartialEq for InboundRow
impl StructuralPartialEq for InboundRow
Auto Trait Implementations§
impl Freeze for InboundRow
impl RefUnwindSafe for InboundRow
impl Send for InboundRow
impl Sync for InboundRow
impl Unpin for InboundRow
impl UnsafeUnpin for InboundRow
impl UnwindSafe for InboundRow
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