Available on crate feature
parser only.Expand description
§Encode (model to syntax)
The write side of the structural bridge: project the decoded model onto a raw syntax tree.
A value’s Codec impl encodes it into a IcalValueNode, an
IcalParam into an IcalParamNode, a IcalProp into an
IcalLine, an IcalComponent into a nested IcalCst, and an
Ical into the whole VCALENDAR IcalCst, recursively.
The whole calendar is encoded for its version’s Escaper, which the
value codecs use to escape every leaf.
Display for Ical renders a decoded calendar
straight to its serialized bytes through here.