1 2 3 4 5 6 7 8 9 10 11 12
use crate::FixedVec; impl<T> Clone for FixedVec<T> where T: Clone, { fn clone(&self) -> Self { let mut data = Vec::with_capacity(self.data.capacity()); data.extend_from_slice(&self.data); Self { data } } }