Trait Obj
mop_blocks
pub trait Obj<OR, S> { fn obj_direction(&self) -> ObjDirection; fn result(&self, solution: &S) -> OR; }
Objective
OR
S
fn obj_direction(&self) -> ObjDirection
fn result(&self, solution: &S) -> OR
impl<OR, S> Obj<OR, S> for (ObjDirection, fn(_: &S) -> OR)