pub fn cpinternal(&mut self, src: impl RangeBounds<usize>, dest: usize)
	where
		T: Copy,
		R: DerefMut,
	{
		let Range
		{
			start: src_start,
			end: src_end,
		} = range(src, ..self.reference.len());
		let count = src_end - src_start;
		assert!(dest <= self.reference.len() - count, "DESTINATION OUT OF BOUNDS");

		unsafe
		{
			intrinsics::volatile_copy_memory(self.reference.as_mut_ptr().add(dest), self.reference.as_ptr().add(src_start), count);
		}
	}
// Use volatile memmove to copy elements from one part of slice to another part:
Use volatile memmove to copy elements from one part of slice to another part.
Use volatile memmove to copy elements from one part of slice to another part .
pub fn cpinternal(&mut self, src: impl RangeBounds<usize>, dest: usize)
	where
		T: Copy,
		R: DerefMut,
	{
		let Range
		{
			start: src_start,
			end: src_end,
		} = range(src, ..self.reference.len());
		let count = src_end - src_start;
		assert!(dest <= self.reference.len() - count, "DESTINATION OUT OF BOUNDS");
		unsafe
		{
			intrinsics::volatile_copy_memory(self.reference.as_mut_ptr().add(dest), self.reference.as_ptr().add(src_start), count);
		}
	}
pub fn cpinternal ( & mut self , src : impl RangeBounds < usize > , dest : usize ) where T : Copy , R : DerefMut , { let Range { start : src_start , end : src_end , } = range ( src , .. self . reference . len ( ) ) ; let count = src_end - src_start ; assert ! ( dest self reference len ( ) count " " ) ; unsafe { intrinsics :: volatile_copy_memory ( self . reference . as_mut_ptr ( ) . add ( dest ) , self . reference . as_ptr ( ) . add ( src_start ) , count ) ; } }
Use volatile memmove to copy elements from one part of slice to another part:
Use volatile memmove to copy elements from one part of slice to another part :
&mut self
src
impl RangeBounds<usize>
dest
usize