Struct nom_derive::LengthData
source · pub struct LengthData<L, D> {
pub data: D,
/* private fields */
}
Fields§
§data: D
Implementations§
source§impl<L, D> LengthData<L, D>
impl<L, D> LengthData<L, D>
Trait Implementations§
source§impl<L, I, E> Parse<I, E> for LengthData<L, I>where
I: Clone + PartialEq + InputSlice,
E: ParseError<I>,
L: Parse<I, E> + ToUsize,
impl<L, I, E> Parse<I, E> for LengthData<L, I>where I: Clone + PartialEq + InputSlice, E: ParseError<I>, L: Parse<I, E> + ToUsize,
source§impl<L: PartialEq, D: PartialEq> PartialEq<LengthData<L, D>> for LengthData<L, D>
impl<L: PartialEq, D: PartialEq> PartialEq<LengthData<L, D>> for LengthData<L, D>
source§fn eq(&self, other: &LengthData<L, D>) -> bool
fn eq(&self, other: &LengthData<L, D>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.