pub enum Why {
Inherits,
UsesType,
UsesMemberPrecise,
UsesMemberExt,
UsesMemberGuess,
CtorDi,
Imports,
Declaration,
TestAttribute,
TestProject,
}Expand description
One of the words a hit row’s why field names.
Variants§
Inherits
A base-list (inherits) edge.
UsesType
A uses-type edge.
UsesMemberPrecise
A precise (non-heuristic) uses-member edge.
UsesMemberExt
A uses-member edge the extension-method tier guessed.
UsesMemberGuess
A uses-member edge the scored-guess tier guessed (or one that
carries no tier at all – see row_tier’s own rule for that case).
CtorDi
A constructor-injection (ctor-di) edge.
Imports
A C# using directive (an imports edge).
Declaration
The def’s own declaration span – read only, never an edge at all.
TestAttribute
A tests row earned because a def declared in the file carries a
test-runner attribute.
TestProject
A tests row earned because the project model places the file’s
unit in a project marked test, with no attributed def of its own.
Implementations§
Trait Implementations§
impl Copy for Why
impl Eq for Why
impl StructuralPartialEq for Why
Auto Trait Implementations§
impl Freeze for Why
impl RefUnwindSafe for Why
impl Send for Why
impl Sync for Why
impl Unpin for Why
impl UnsafeUnpin for Why
impl UnwindSafe for Why
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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