[][src]Trait nom::Offset

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

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

impl Offset for [u8]
[src]

impl<'a> Offset for &'a [u8]
[src]

impl Offset for str
[src]

impl<'a> Offset for &'a str
[src]

Implementors

impl<'a> Offset for CompleteByteSlice<'a>
[src]

impl<'a> Offset for CompleteStr<'a>
[src]

impl<T: Offset> Offset for Input<T>
[src]