pub type ParserSpecs<SpecP, Cnstcy, Blen> = (SpecP, Cnstcy, Blen);Expand description
Bundled triple of parser, consistency, and byte-length spec functions.
Trait Implementations§
Source§impl<SpecP, Cnstcy, Blen> Consistency for ParserSpecs<SpecP, Cnstcy, Blen>
impl<SpecP, Cnstcy, Blen> Consistency for ParserSpecs<SpecP, Cnstcy, Blen>
Source§open spec fn consistent(&self, v: Self::Val) -> bool
open spec fn consistent(&self, v: Self::Val) -> bool
{ (self.1).consistent(v) }Source§type Val = <Blen as SpecByteLen>::T
type Val = <Blen as SpecByteLen>::T
The type of values whose consistency is being checked.