Trait mesh_protobuf::CopyExtend
source · pub trait CopyExtend<T> {
// Required methods
fn push(&mut self, item: T)
where T: Copy;
fn extend_from_slice(&mut self, items: &[T])
where T: Copy;
}
Expand description
Trait for collections that can be extended by a slice of T: Copy
.
Required Methods§
sourcefn extend_from_slice(&mut self, items: &[T])where
T: Copy,
fn extend_from_slice(&mut self, items: &[T])where
T: Copy,
Extends the collection by items
.