pub fn typed_param(input: &mut Input<'_>) -> PResult<(Type, String)>Expand description
Parse a single typed identifier in ident: Type form.
Returns (Type, name) — the canonical storage order used throughout
the AST — so callers get a (Type, String) pair without any
field-order gymnastics.
x: int → (Type::Primitive(Int), "x")
pkt: uint32 → (Type::Primitive(UInt32), "pkt")