MCPcopy Create free account
hub / github.com/PerroEngine/Perro / copy_from

Method copy_from

perro_source/core/perro_structs/src/structs/matrix/mod.rs:719–725  ·  view source on GitHub ↗
(&mut self, src: &Self)

Source from the content-addressed store, hash-verified

717
718 #[inline]
719 pub fn copy_from(&mut self, src: &Self) -> &mut Self
720 where
721 T: Copy,
722 {
723 self.as_mut_slice().copy_from_slice(src.as_slice());
724 self
725 }
726
727 #[inline]
728 pub fn clone_from_matrix(&mut self, src: &Self) -> &mut Self

Calls 3

copy_from_sliceMethod · 0.80
as_mut_sliceMethod · 0.80
as_sliceMethod · 0.45