[−][src]Struct batsat::callbacks::Basic
Basic set of callbacks
This doesn't do anything except storing a function to stop
Implementations
impl Basic
[src]
pub fn new() -> Self
[src]
Allocate a new set of callbacks
pub fn set_stop<F>(&mut self, f: F) where
F: 'static + Fn() -> bool,
[src]
F: 'static + Fn() -> bool,
Set the stop
function
Trait Implementations
impl Callbacks for Basic
[src]
pub fn stop(&self) -> bool
[src]
pub fn on_start(&mut self)
[src]
pub fn on_simplify(&mut self)
[src]
pub fn on_restart(&mut self)
[src]
pub fn on_gc(&mut self, _old_size: usize, _new_size: usize)
[src]
pub fn on_new_clause(&mut self, _c: &[Lit], _src: Kind)
[src]
pub fn on_delete_clause(&mut self, _c: &[Lit])
[src]
pub fn on_progress<F>(&mut self, _f: F) where
F: FnOnce() -> ProgressStatus,
[src]
F: FnOnce() -> ProgressStatus,
pub fn on_result(&mut self, _s: lbool)
[src]
impl Default for Basic
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Basic
[src]
impl !Send for Basic
[src]
impl !Sync for Basic
[src]
impl Unpin for Basic
[src]
impl !UnwindSafe for Basic
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,