pub struct CustomOde<F: Fn(f64, &[f64], &mut [f64]) + Send + Sync> {
pub dim: usize,
pub func: F,
}Expand description
Custom ODE from a closure.
Fields§
§dim: usize§func: FTrait Implementations§
Auto Trait Implementations§
impl<F> Freeze for CustomOde<F>where
F: Freeze,
impl<F> RefUnwindSafe for CustomOde<F>where
F: RefUnwindSafe,
impl<F> Send for CustomOde<F>
impl<F> Sync for CustomOde<F>
impl<F> Unpin for CustomOde<F>where
F: Unpin,
impl<F> UnsafeUnpin for CustomOde<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for CustomOde<F>where
F: UnwindSafe,
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