/// Scan memory to find the struct
Scan memory to find the struct
Scan memory to find the struct
pub unsafe fn find_in_memory<T: Checkable>
	(begin: usize, len: usize, step: usize) -> Option<usize> {
	(begin .. begin + len).step_by(step)
		.find(|&addr| { (&*(addr as *const T)).check() })
}
pub unsafe fn find_in_memory < T : Checkable > ( begin : usize , len : usize , step : usize ) -> Option < usize > { ( begin .. begin + len ) . step_by ( step ) . find ( | & addr | { ( & * ( addr as * const T ) ) . check ( ) } ) }
Scan memory to find the struct
Scan memory to find the struct
begin
usize
len
usize
step
usize