AtomicModeParse
for pair
This commit is contained in:
parent
a3de4c5fbe
commit
8f6fcfba6c
@ -172,3 +172,13 @@ impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>, B: Mentionable<'a, Ctx>> Men
|
|||||||
StaticPairObject::<Self>::points_typed_sp(self, points)
|
StaticPairObject::<Self>::points_typed_sp(self, points)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<A: InliningAtomic, B: AtomicModeParse> AtomicModeParse for (A, B) {
|
||||||
|
fn ma_deserialize<I: Stream>(stream: I) -> AModeResultM<Self, I> {
|
||||||
|
StaticPairObject::<Self>::ma_deserialize_sp(stream)
|
||||||
|
}
|
||||||
|
|
||||||
|
fn ma_extend(atomic: AExtensionSourceM<Self>, tail: &[u8]) -> AExtensionResultM<Self> {
|
||||||
|
StaticPairObject::<Self>::ma_extend_sp(atomic, tail)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user