mesh_protobuf

Trait 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§

Source

fn push(&mut self, item: T)
where T: Copy,

Pushes item onto the collection.

Source

fn extend_from_slice(&mut self, items: &[T])
where T: Copy,

Extends the collection by items.

Implementations on Foreign Types§

Source§

impl<T> CopyExtend<T> for Vec<T>

Source§

fn push(&mut self, item: T)
where T: Copy,

Source§

fn extend_from_slice(&mut self, items: &[T])
where T: Copy,

Implementors§