pub trait FibonacciSearch: Sized {
// Required method
fn fibonacci_search<T, F>(self, other: Self, f: F) -> (Self, T)
where T: PartialOrd,
F: FnMut(Self) -> T;
}Expand description
fibonacci search helper
Required Methods§
fn fibonacci_search<T, F>(self, other: Self, f: F) -> (Self, T)where
T: PartialOrd,
F: FnMut(Self) -> T,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.