pub struct SpuriousResult {
is_non_spurious: bool,
non_spurious_path: Option<Path>,
}Expand description
Custom struct that stores the result of the Spurious Check
Fields§
§is_non_spurious: boolindicates if the abstract path is non spurious
non_spurious_path: Option<Path>optional path that is non-spurious
Implementations§
Source§impl SpuriousResult
impl SpuriousResult
Sourcepub fn new(is_non_spurious: bool, non_spurious_path: Option<Path>) -> Self
pub fn new(is_non_spurious: bool, non_spurious_path: Option<Path>) -> Self
creates a new SMTSpuriousResult
Sourcepub fn new_spurious() -> Self
pub fn new_spurious() -> Self
returns a new SMTSpuriousResult indicating that the abstract path is spurious
Sourcepub fn is_non_spurious(&self) -> bool
pub fn is_non_spurious(&self) -> bool
returns true if the abstract path is spurious
Sourcepub fn non_spurious_path(&self) -> Option<&Path>
pub fn non_spurious_path(&self) -> Option<&Path>
returns the non-spurious path if it exists
Auto Trait Implementations§
impl Freeze for SpuriousResult
impl RefUnwindSafe for SpuriousResult
impl Send for SpuriousResult
impl Sync for SpuriousResult
impl Unpin for SpuriousResult
impl UnwindSafe for SpuriousResult
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> 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