pub trait VecTExt<T> {
// Required method
fn get_or_extend_with<F>(&mut self, i: usize, f: F) -> &mut T
where F: FnMut() -> T;
}Required Methods§
fn get_or_extend_with<F>(&mut self, i: usize, f: F) -> &mut Twhere
F: FnMut() -> T,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".