pub trait Vector<T> {
// Required methods
fn push(&mut self, value: T);
fn extend_from_slice(&mut self, other: &[T])
where T: Copy;
}
Expand description
A trait for objects that behave like vectors.
Required Methods§
sourcefn extend_from_slice(&mut self, other: &[T])where
T: Copy,
fn extend_from_slice(&mut self, other: &[T])where
T: Copy,
Copies and appends all elements in a slice to the vector.