pub struct ObservedFact {
pub identity: SymbolIdentity,
pub occurrence: OccurrenceSpan,
pub state: Uncertainty,
}Expand description
One fact an analyzer run actually produced for a case, in the same shape a manifest’s expected-present fact takes.
Fields§
§identity: SymbolIdentityThe observed symbol identity.
occurrence: OccurrenceSpanThe observed occurrence span.
state: UncertaintyThe observed confidence state.
Trait Implementations§
Source§impl Clone for ObservedFact
impl Clone for ObservedFact
Source§impl Debug for ObservedFact
impl Debug for ObservedFact
Source§impl PartialEq for ObservedFact
impl PartialEq for ObservedFact
impl StructuralPartialEq for ObservedFact
Auto Trait Implementations§
impl Freeze for ObservedFact
impl RefUnwindSafe for ObservedFact
impl Send for ObservedFact
impl Sync for ObservedFact
impl Unpin for ObservedFact
impl UnsafeUnpin for ObservedFact
impl UnwindSafe for ObservedFact
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