pub trait AltRawImpl: AltrepImpl {
// Required method
fn elt(&self, _index: usize) -> u8;
// Provided method
fn get_region(&self, index: usize, data: &mut [u8]) -> usize { ... }
}
Required Methods§
Provided Methods§
Sourcefn get_region(&self, index: usize, data: &mut [u8]) -> usize
fn get_region(&self, index: usize, data: &mut [u8]) -> usize
Get a multiple elements from this vector.
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.