Trait nom::InputLength
[−]
[src]
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
Implementors
impl<'a, T> InputLength for &'a [T]
impl<'a> InputLength for &'a str
impl<'a> InputLength for (&'a [u8], usize)
impl InputLength for [u8; 0]
impl<'a> InputLength for &'a [u8; 0]
impl InputLength for [u8; 1]
impl<'a> InputLength for &'a [u8; 1]
impl InputLength for [u8; 2]
impl<'a> InputLength for &'a [u8; 2]
impl InputLength for [u8; 3]
impl<'a> InputLength for &'a [u8; 3]
impl InputLength for [u8; 4]
impl<'a> InputLength for &'a [u8; 4]
impl InputLength for [u8; 5]
impl<'a> InputLength for &'a [u8; 5]
impl InputLength for [u8; 6]
impl<'a> InputLength for &'a [u8; 6]
impl InputLength for [u8; 7]
impl<'a> InputLength for &'a [u8; 7]
impl InputLength for [u8; 8]
impl<'a> InputLength for &'a [u8; 8]
impl InputLength for [u8; 9]
impl<'a> InputLength for &'a [u8; 9]
impl InputLength for [u8; 10]
impl<'a> InputLength for &'a [u8; 10]
impl InputLength for [u8; 11]
impl<'a> InputLength for &'a [u8; 11]
impl InputLength for [u8; 12]
impl<'a> InputLength for &'a [u8; 12]
impl InputLength for [u8; 13]
impl<'a> InputLength for &'a [u8; 13]
impl InputLength for [u8; 14]
impl<'a> InputLength for &'a [u8; 14]
impl InputLength for [u8; 15]
impl<'a> InputLength for &'a [u8; 15]
impl InputLength for [u8; 16]
impl<'a> InputLength for &'a [u8; 16]
impl InputLength for [u8; 17]
impl<'a> InputLength for &'a [u8; 17]
impl InputLength for [u8; 18]
impl<'a> InputLength for &'a [u8; 18]
impl InputLength for [u8; 19]
impl<'a> InputLength for &'a [u8; 19]
impl InputLength for [u8; 20]
impl<'a> InputLength for &'a [u8; 20]
impl InputLength for [u8; 21]
impl<'a> InputLength for &'a [u8; 21]
impl InputLength for [u8; 22]
impl<'a> InputLength for &'a [u8; 22]
impl InputLength for [u8; 23]
impl<'a> InputLength for &'a [u8; 23]
impl InputLength for [u8; 24]
impl<'a> InputLength for &'a [u8; 24]
impl InputLength for [u8; 25]
impl<'a> InputLength for &'a [u8; 25]
impl InputLength for [u8; 26]
impl<'a> InputLength for &'a [u8; 26]
impl InputLength for [u8; 27]
impl<'a> InputLength for &'a [u8; 27]
impl InputLength for [u8; 28]
impl<'a> InputLength for &'a [u8; 28]
impl InputLength for [u8; 29]
impl<'a> InputLength for &'a [u8; 29]
impl InputLength for [u8; 30]
impl<'a> InputLength for &'a [u8; 30]
impl InputLength for [u8; 31]
impl<'a> InputLength for &'a [u8; 31]
impl InputLength for [u8; 32]
impl<'a> InputLength for &'a [u8; 32]