pub fn put<T>(&self, value: &T, filepos: usize) {

        let target: &mut T = unsafe {
            mem::transmute( self.ptr.offset(filepos as isize))
        };

        unsafe {
            ptr::copy_nonoverlapping(value, target, 1);
        };
    }
/// Stores an object at the given filepos
///
/// It must be already verified to fit
Stores an object at the given filepos
It must be already verified to fit
Stores an object at the given filepos It must be already verified to fit
pub fn put<T>(&self, value: &T, filepos: usize) {
        let target: &mut T = unsafe {
            mem::transmute( self.ptr.offset(filepos as isize))
        };
        unsafe {
            ptr::copy_nonoverlapping(value, target, 1);
        };
    }
pub fn put < T > ( & self , value : & T , filepos : usize ) { let target : & mut T = unsafe { mem :: transmute ( self . ptr . offset ( filepos as isize ) ) } ; unsafe { ptr :: copy_nonoverlapping ( value , target , 1 ) ; } ; }
Stores an object at the given filepos
It must be already verified to fit
Stores an object at the given filepos It must be already verified to fit
&self
value
&T
filepos
usize
&self
value
&T
filepos
usize