Trait python_ast::traits::redefs_nom::InputLengthRedef
[−]
[src]
pub trait InputLengthRedef { fn input_len(&self) -> usize; }
Abstract method to calculate the input length. Redefined in this crate because of the rust orphan rules that prevent using other library's traits on types not defined by the library.
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> InputLengthRedef for &'a [T]
impl InputLengthRedef for [Id; 0]
impl<'a> InputLengthRedef for &'a [Id; 0]
impl InputLengthRedef for [Id; 1]
impl<'a> InputLengthRedef for &'a [Id; 1]
impl InputLengthRedef for [Id; 2]
impl<'a> InputLengthRedef for &'a [Id; 2]
impl InputLengthRedef for [Id; 3]
impl<'a> InputLengthRedef for &'a [Id; 3]
impl InputLengthRedef for [Id; 4]
impl<'a> InputLengthRedef for &'a [Id; 4]
impl InputLengthRedef for [Id; 5]
impl<'a> InputLengthRedef for &'a [Id; 5]
impl InputLengthRedef for [Id; 6]
impl<'a> InputLengthRedef for &'a [Id; 6]
impl InputLengthRedef for [Id; 7]
impl<'a> InputLengthRedef for &'a [Id; 7]
impl InputLengthRedef for [Id; 8]
impl<'a> InputLengthRedef for &'a [Id; 8]
impl InputLengthRedef for [Id; 9]
impl<'a> InputLengthRedef for &'a [Id; 9]
impl InputLengthRedef for [Id; 10]
impl<'a> InputLengthRedef for &'a [Id; 10]
impl InputLengthRedef for [Id; 11]
impl<'a> InputLengthRedef for &'a [Id; 11]
impl InputLengthRedef for [Id; 12]
impl<'a> InputLengthRedef for &'a [Id; 12]
impl InputLengthRedef for [Id; 13]
impl<'a> InputLengthRedef for &'a [Id; 13]
impl InputLengthRedef for [Id; 14]
impl<'a> InputLengthRedef for &'a [Id; 14]
impl InputLengthRedef for [Id; 15]
impl<'a> InputLengthRedef for &'a [Id; 15]
impl InputLengthRedef for [Id; 16]
impl<'a> InputLengthRedef for &'a [Id; 16]
impl InputLengthRedef for [Id; 17]
impl<'a> InputLengthRedef for &'a [Id; 17]
impl InputLengthRedef for [Id; 18]
impl<'a> InputLengthRedef for &'a [Id; 18]
impl InputLengthRedef for [Id; 19]
impl<'a> InputLengthRedef for &'a [Id; 19]
impl InputLengthRedef for [Id; 20]
impl<'a> InputLengthRedef for &'a [Id; 20]
impl InputLengthRedef for [Id; 21]
impl<'a> InputLengthRedef for &'a [Id; 21]
impl InputLengthRedef for [Id; 22]
impl<'a> InputLengthRedef for &'a [Id; 22]
impl InputLengthRedef for [Id; 23]
impl<'a> InputLengthRedef for &'a [Id; 23]
impl InputLengthRedef for [Id; 24]
impl<'a> InputLengthRedef for &'a [Id; 24]
impl InputLengthRedef for [Id; 25]
impl<'a> InputLengthRedef for &'a [Id; 25]
impl InputLengthRedef for [Id; 26]
impl<'a> InputLengthRedef for &'a [Id; 26]
impl InputLengthRedef for [Id; 27]
impl<'a> InputLengthRedef for &'a [Id; 27]
impl InputLengthRedef for [Id; 28]
impl<'a> InputLengthRedef for &'a [Id; 28]
impl InputLengthRedef for [Id; 29]
impl<'a> InputLengthRedef for &'a [Id; 29]
impl InputLengthRedef for [Id; 30]
impl<'a> InputLengthRedef for &'a [Id; 30]
impl InputLengthRedef for [Id; 31]
impl<'a> InputLengthRedef for &'a [Id; 31]
impl InputLengthRedef for [Id; 32]
impl<'a> InputLengthRedef for &'a [Id; 32]