pub struct CoqFixPoint {
pub name: String,
pub params: Vec<(String, CoqTerm)>,
pub return_type: Option<CoqTerm>,
pub struct_arg: Option<String>,
pub body: CoqTerm,
}Expand description
A single fixpoint function (inside Fixpoint or fix).
Fields§
§name: StringFunction name
params: Vec<(String, CoqTerm)>Parameter list: (x : T)
return_type: Option<CoqTerm>Optional return type annotation
struct_arg: Option<String>Structurally decreasing argument name (for {struct arg})
body: CoqTermFunction body
Trait Implementations§
Source§impl Clone for CoqFixPoint
impl Clone for CoqFixPoint
Source§fn clone(&self) -> CoqFixPoint
fn clone(&self) -> CoqFixPoint
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 moreSource§impl Debug for CoqFixPoint
impl Debug for CoqFixPoint
Source§impl PartialEq for CoqFixPoint
impl PartialEq for CoqFixPoint
impl StructuralPartialEq for CoqFixPoint
Auto Trait Implementations§
impl Freeze for CoqFixPoint
impl RefUnwindSafe for CoqFixPoint
impl Send for CoqFixPoint
impl Sync for CoqFixPoint
impl Unpin for CoqFixPoint
impl UnsafeUnpin for CoqFixPoint
impl UnwindSafe for CoqFixPoint
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