pub struct FuncInterp { /* 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 FuncInterp
impl FuncInterp
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], value: &Dynamic)
pub fn add_entry(&self, args: &[Dynamic], value: &Dynamic)
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 Debug for FuncInterp
impl Debug for FuncInterp
Source§impl Display for FuncInterp
impl Display for FuncInterp
Auto Trait Implementations§
impl Freeze for FuncInterp
impl RefUnwindSafe for FuncInterp
impl !Send for FuncInterp
impl !Sync for FuncInterp
impl Unpin for FuncInterp
impl UnsafeUnpin for FuncInterp
impl UnwindSafe for FuncInterp
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