pub struct SpecFunc {
pub name: Ident,
pub sort_vars: Vec<Ident>,
pub params: RefineParams,
pub output: Sort,
pub body: Option<Expr>,
}
Expand description
A global function definition. It can be either an uninterpreted function or a syntactic abstraction, i.e., a function with a body.
Fields§
§name: Ident
§sort_vars: Vec<Ident>
§params: RefineParams
§output: Sort
§body: Option<Expr>
Body of the function. If not present this definition corresponds to an uninterpreted function.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpecFunc
impl RefUnwindSafe for SpecFunc
impl Send for SpecFunc
impl Sync for SpecFunc
impl Unpin for SpecFunc
impl UnwindSafe for SpecFunc
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