pub struct TerminationResult {
pub decreasing_param: Option<usize>,
pub recursive_calls: Vec<RecCallInfo>,
pub is_terminating: bool,
}Expand description
Result of analyzing a function body for structural recursion.
Fields§
§decreasing_param: Option<usize>Which parameter is the decreasing one (if found)
recursive_calls: Vec<RecCallInfo>All recursive calls found
is_terminating: boolWhether termination is verified
Trait Implementations§
Source§impl Clone for TerminationResult
impl Clone for TerminationResult
Source§fn clone(&self) -> TerminationResult
fn clone(&self) -> TerminationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TerminationResult
impl RefUnwindSafe for TerminationResult
impl Send for TerminationResult
impl Sync for TerminationResult
impl Unpin for TerminationResult
impl UnsafeUnpin for TerminationResult
impl UnwindSafe for TerminationResult
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