pub trait Offset<Start = Self> {
// Required method
fn offset_from(&self, start: &Start) -> usize;
}Expand description
Useful functions to calculate the offset between slices and show a hexdump of a slice
Required Methods§
sourcefn offset_from(&self, start: &Start) -> usize
fn offset_from(&self, start: &Start) -> usize
Offset between the first byte of start and the first byte of self