Trait nom::Offset[][src]

pub trait Offset {
    fn offset(&self, second: &Self) -> usize;
}
Expand description

Useful functions to calculate the offset between slices and show a hexdump of a slice

Required methods

Offset between the first byte of self and the first byte of the argument

Implementations on Foreign Types

Implementors