pub struct DecidablePred<T> {
pub decide: Box<dyn Fn(&T) -> bool>,
pub name: String,
}Expand description
Decidable predicate: a predicate P: T -> Bool computable at runtime.
Fields§
§decide: Box<dyn Fn(&T) -> bool>The underlying decision procedure.
name: StringName of this predicate for display.
Auto Trait Implementations§
impl<T> Freeze for DecidablePred<T>
impl<T> !RefUnwindSafe for DecidablePred<T>
impl<T> !Send for DecidablePred<T>
impl<T> !Sync for DecidablePred<T>
impl<T> Unpin for DecidablePred<T>
impl<T> UnsafeUnpin for DecidablePred<T>
impl<T> !UnwindSafe for DecidablePred<T>
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