pub fn copy_from_slice(&mut self, slice: &[u32]) {
        assert_eq!(self.len, slice.len());

        self.limbs.clear();
        self.limbs.extend(
            slice
                .chunks(limb::entries_per_limb_const::<P>())
                .map(|x| limb::pack::<_, P>(x.iter().copied())),
        );
    }
/// This replaces the contents of the vector with the contents of the slice. The two must have
/// the same length.
This replaces the contents of the vector with the contents of the slice. The two must have
the same length.
This replaces the contents of the vector with the contents of the slice . The two must have the same length .
pub fn copy_from_slice(&mut self, slice: &[u32]) {
        assert_eq!(self.len, slice.len());
        self.limbs.clear();
        self.limbs.extend(
            slice
                .chunks(limb::entries_per_limb_const::<P>())
                .map(|x| limb::pack::<_, P>(x.iter().copied())),
        );
    }
pub fn copy_from_slice ( & mut self , slice : & [ u32 ] ) { assert_eq ! ( self len slice len ( ) ) ; self . limbs . clear ( ) ; self . limbs . extend ( slice . chunks ( limb :: entries_per_limb_const :: < P > ( ) ) . map ( | x | limb :: pack :: < _ , P > ( x . iter ( ) . copied ( ) ) ) , ) ; }
This replaces the contents of the vector with the contents of the slice.
This replaces the contents of the vector with the contents of the slice .
&mut self
slice
&[u32]
&mut self
slice
&[u32]