# Trait nom::InputLength

source · [−]

    pub trait InputLength {
        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<'a, T> InputLength for &'a [T]

source

#### fn input_len(&self) -> usize

source

### impl<'a> InputLength for &'a str

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 0]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 1]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 2]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 3]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 4]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 5]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 6]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 7]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 8]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 9]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 10]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 11]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 12]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 13]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 14]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 15]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 16]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 17]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 18]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 19]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 20]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 21]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 22]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 23]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 24]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 25]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 26]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 27]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 28]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 29]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 30]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 31]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

source

### impl InputLength for [u8; 32]

source

#### fn input_len(&self) -> usize

source

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

source

#### fn input_len(&self) -> usize

## Implementors