pub trait MutableCloneableVector<T> { fn copy_from(self, &[T]) -> uint; }
Trait for &[T] where T is Cloneable
fn copy_from(self, &[T]) -> uint
Copies as many elements from src
as it can into self
(the shorter of self.len() and src.len()). Returns the number of elements copied.
impl<'self, T: Clone> MutableCloneableVector<T> for &'self mut [T]
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).