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