Enum grid_search::CostCell
source · pub enum CostCell<Cost> {
Solid,
Cost(Cost),
}
Variants
Solid
Cost(Cost)
Implementations
Trait Implementations
sourceimpl<Cost: PartialEq> PartialEq<CostCell<Cost>> for CostCell<Cost>
impl<Cost: PartialEq> PartialEq<CostCell<Cost>> for CostCell<Cost>
impl<Cost: Copy> Copy for CostCell<Cost>
impl<Cost: Eq> Eq for CostCell<Cost>
impl<Cost> StructuralEq for CostCell<Cost>
impl<Cost> StructuralPartialEq for CostCell<Cost>
Auto Trait Implementations
impl<Cost> RefUnwindSafe for CostCell<Cost>where
Cost: RefUnwindSafe,
impl<Cost> Send for CostCell<Cost>where
Cost: Send,
impl<Cost> Sync for CostCell<Cost>where
Cost: Sync,
impl<Cost> Unpin for CostCell<Cost>where
Cost: Unpin,
impl<Cost> UnwindSafe for CostCell<Cost>where
Cost: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more