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

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

Implementors