fn header_ptr(&self, ix: u64) -> &Header {
        let ix = (ix * self.cell_size) as usize;
        let hdr_slice: &[u8] = &self.mmap[ix..ix + std::mem::size_of::<Header>()];
        unsafe {
            let hdr = hdr_slice.as_ptr() as *const Header;
            hdr.as_ref().unwrap()
        }
    }
/// return ref to header of item 'ix' in mmapped file
return ref to header of item 'ix' in mmapped file
return ref to header of item ' ix ' in mmapped file
fn header_ptr(&self, ix: u64) -> &Header {
        let ix = (ix * self.cell_size) as usize;
        let hdr_slice: &[u8] = &self.mmap[ix..ix + std::mem::size_of::<Header>()];
        unsafe {
            let hdr = hdr_slice.as_ptr() as *const Header;
            hdr.as_ref().unwrap()
        }
    }
fn header_ptr ( & self , ix : u64 ) -> & Header { let ix = ( ix * self . cell_size ) as usize ; let hdr_slice : & [ u8 ] = & self . mmap [ ix .. ix + std :: mem :: size_of :: < Header > ( ) ] ; unsafe { let hdr = hdr_slice . as_ptr ( ) as * const Header ; hdr . as_ref ( ) . unwrap ( ) } }
return ref to header of item 'ix' in mmapped file
return ref to header of item ' ix ' in mmapped file
&self
ix
u64