pub trait SortedInsertBy<T>: SortedInsertBasic<T> {
// Provided method
fn sorted_insert_by<F: FnMut(&T, &T) -> bool>(
&mut self,
element: T,
f: F,
) -> usize { ... }
}Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> SortedInsertBy<T> for Vec<T>
impl<T> SortedInsertBy<T> for VecDeque<T>
Available on crate feature
std only.