Struct z3::FuncInterp
source · pub struct FuncInterp<'ctx> { /* private fields */ }
Expand description
Stores the interpretation of a function in a Z3 model. https://z3prover.github.io/api/html/classz3py_1_1_func_interp.html
Implementations§
source§impl<'ctx> FuncInterp<'ctx>
impl<'ctx> FuncInterp<'ctx>
sourcepub fn get_arity(&self) -> usize
pub fn get_arity(&self) -> usize
Returns the number of arguments in the function interpretation.
sourcepub fn get_num_entries(&self) -> u32
pub fn get_num_entries(&self) -> u32
Returns the number of entries in the function interpretation.
sourcepub fn add_entry(&self, args: &[Dynamic<'ctx>], value: &Dynamic<'ctx>)
pub fn add_entry(&self, args: &[Dynamic<'ctx>], value: &Dynamic<'ctx>)
Adds an entry to the function interpretation.
sourcepub fn get_entries(&self) -> Vec<FuncEntry<'_>>
pub fn get_entries(&self) -> Vec<FuncEntry<'_>>
Returns the entries of the function interpretation.
Trait Implementations§
source§impl<'ctx> Debug for FuncInterp<'ctx>
impl<'ctx> Debug for FuncInterp<'ctx>
source§impl<'ctx> Display for FuncInterp<'ctx>
impl<'ctx> Display for FuncInterp<'ctx>
Auto Trait Implementations§
impl<'ctx> RefUnwindSafe for FuncInterp<'ctx>
impl<'ctx> !Send for FuncInterp<'ctx>
impl<'ctx> !Sync for FuncInterp<'ctx>
impl<'ctx> Unpin for FuncInterp<'ctx>
impl<'ctx> UnwindSafe for FuncInterp<'ctx>
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