pub trait TakeSlice {
// Required method
fn take_slice<T>(&mut self, len: usize) -> (&mut [T], &mut Self);
}Expand description
Required Methods§
fn take_slice<T>(&mut self, len: usize) -> (&mut [T], &mut Self)
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.