pub(crate) struct Fact {
pub name: String,
pub panics: bool,
pub opaque: bool,
pub effects: Vec<Effect>,
pub on_arg: Vec<Option<usize>>,
}Expand description
What the compiler found about one call.
Fields§
§name: StringThe callee’s name as written, to detect stale facts.
panics: bool§opaque: boolSome callee could not be seen through: the effects are a lower bound, so the name’s guess still applies too.
effects: Vec<Effect>§on_arg: Vec<Option<usize>>For each effect: its target is the call’s argument j (0 is a method’s receiver).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fact
impl RefUnwindSafe for Fact
impl Send for Fact
impl Sync for Fact
impl Unpin for Fact
impl UnsafeUnpin for Fact
impl UnwindSafe for Fact
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