[][src]Trait nom::InputLength

pub trait InputLength {
    fn input_len(&self) -> usize;
}

abstract method to calculate the input length

Required methods

fn input_len(&self) -> usize

calculates the input length, as indicated by its name, and the name of the trait itself

Loading content...

Implementations on Foreign Types

impl<'a, T> InputLength for &'a [T][src]

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

impl<'a> InputLength for (&'a [u8], usize)[src]

impl InputLength for [u8; 0][src]

impl<'a> InputLength for &'a [u8; 0][src]

impl InputLength for [u8; 1][src]

impl<'a> InputLength for &'a [u8; 1][src]

impl InputLength for [u8; 2][src]

impl<'a> InputLength for &'a [u8; 2][src]

impl InputLength for [u8; 3][src]

impl<'a> InputLength for &'a [u8; 3][src]

impl InputLength for [u8; 4][src]

impl<'a> InputLength for &'a [u8; 4][src]

impl InputLength for [u8; 5][src]

impl<'a> InputLength for &'a [u8; 5][src]

impl InputLength for [u8; 6][src]

impl<'a> InputLength for &'a [u8; 6][src]

impl InputLength for [u8; 7][src]

impl<'a> InputLength for &'a [u8; 7][src]

impl InputLength for [u8; 8][src]

impl<'a> InputLength for &'a [u8; 8][src]

impl InputLength for [u8; 9][src]

impl<'a> InputLength for &'a [u8; 9][src]

impl InputLength for [u8; 10][src]

impl<'a> InputLength for &'a [u8; 10][src]

impl InputLength for [u8; 11][src]

impl<'a> InputLength for &'a [u8; 11][src]

impl InputLength for [u8; 12][src]

impl<'a> InputLength for &'a [u8; 12][src]

impl InputLength for [u8; 13][src]

impl<'a> InputLength for &'a [u8; 13][src]

impl InputLength for [u8; 14][src]

impl<'a> InputLength for &'a [u8; 14][src]

impl InputLength for [u8; 15][src]

impl<'a> InputLength for &'a [u8; 15][src]

impl InputLength for [u8; 16][src]

impl<'a> InputLength for &'a [u8; 16][src]

impl InputLength for [u8; 17][src]

impl<'a> InputLength for &'a [u8; 17][src]

impl InputLength for [u8; 18][src]

impl<'a> InputLength for &'a [u8; 18][src]

impl InputLength for [u8; 19][src]

impl<'a> InputLength for &'a [u8; 19][src]

impl InputLength for [u8; 20][src]

impl<'a> InputLength for &'a [u8; 20][src]

impl InputLength for [u8; 21][src]

impl<'a> InputLength for &'a [u8; 21][src]

impl InputLength for [u8; 22][src]

impl<'a> InputLength for &'a [u8; 22][src]

impl InputLength for [u8; 23][src]

impl<'a> InputLength for &'a [u8; 23][src]

impl InputLength for [u8; 24][src]

impl<'a> InputLength for &'a [u8; 24][src]

impl InputLength for [u8; 25][src]

impl<'a> InputLength for &'a [u8; 25][src]

impl InputLength for [u8; 26][src]

impl<'a> InputLength for &'a [u8; 26][src]

impl InputLength for [u8; 27][src]

impl<'a> InputLength for &'a [u8; 27][src]

impl InputLength for [u8; 28][src]

impl<'a> InputLength for &'a [u8; 28][src]

impl InputLength for [u8; 29][src]

impl<'a> InputLength for &'a [u8; 29][src]

impl InputLength for [u8; 30][src]

impl<'a> InputLength for &'a [u8; 30][src]

impl InputLength for [u8; 31][src]

impl<'a> InputLength for &'a [u8; 31][src]

impl InputLength for [u8; 32][src]

impl<'a> InputLength for &'a [u8; 32][src]

Loading content...

Implementors

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

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

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

Loading content...