Trait nom::InputLength

source ·
pub trait InputLength {
    // Required method
    fn input_len(&self) -> usize;
}
Expand description

Abstract method to calculate the input length

Required Methods§

source

fn input_len(&self) -> usize

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

Implementations on Foreign Types§

source§

impl InputLength for [u8; 0]

source§

impl InputLength for [u8; 1]

source§

impl InputLength for [u8; 2]

source§

impl InputLength for [u8; 3]

source§

impl InputLength for [u8; 4]

source§

impl InputLength for [u8; 5]

source§

impl InputLength for [u8; 6]

source§

impl InputLength for [u8; 7]

source§

impl InputLength for [u8; 8]

source§

impl InputLength for [u8; 9]

source§

impl InputLength for [u8; 10]

source§

impl InputLength for [u8; 11]

source§

impl InputLength for [u8; 12]

source§

impl InputLength for [u8; 13]

source§

impl InputLength for [u8; 14]

source§

impl InputLength for [u8; 15]

source§

impl InputLength for [u8; 16]

source§

impl InputLength for [u8; 17]

source§

impl InputLength for [u8; 18]

source§

impl InputLength for [u8; 19]

source§

impl InputLength for [u8; 20]

source§

impl InputLength for [u8; 21]

source§

impl InputLength for [u8; 22]

source§

impl InputLength for [u8; 23]

source§

impl InputLength for [u8; 24]

source§

impl InputLength for [u8; 25]

source§

impl InputLength for [u8; 26]

source§

impl InputLength for [u8; 27]

source§

impl InputLength for [u8; 28]

source§

impl InputLength for [u8; 29]

source§

impl InputLength for [u8; 30]

source§

impl InputLength for [u8; 31]

source§

impl InputLength for [u8; 32]

source§

impl<'a> InputLength for &'a str

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§