pub enum Search {
Solve,
Optimize(Box<Expr>, Bound, bool),
}
Variants§
Implementations§
Source§impl Search
impl Search
pub fn is_optimize(&self) -> bool
pub fn resolve_type_expr(&self, entries: &TypeEntries) -> Result<Self, Error>
pub fn resolve_expr( &self, problem: &Problem, entries: &Entries, ) -> Result<Self, Error>
pub fn check_parameter_size(&self, problem: &Problem) -> Result<(), Error>
pub fn check_type(&self, problem: &Problem) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Search
impl RefUnwindSafe for Search
impl Send for Search
impl Sync for Search
impl Unpin for Search
impl UnwindSafe for Search
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