pub struct RustCostFunction<'cost>(pub Box<dyn Fn(*const *const f64, *mut f64, *mut *mut f64) -> bool + 'cost>);Tuple Fields§
§0: Box<dyn Fn(*const *const f64, *mut f64, *mut *mut f64) -> bool + 'cost>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'cost> Freeze for RustCostFunction<'cost>
impl<'cost> !RefUnwindSafe for RustCostFunction<'cost>
impl<'cost> !Send for RustCostFunction<'cost>
impl<'cost> !Sync for RustCostFunction<'cost>
impl<'cost> Unpin for RustCostFunction<'cost>
impl<'cost> !UnwindSafe for RustCostFunction<'cost>
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