Skip to main content

payload_readers

Function payload_readers 

Source
pub fn payload_readers() -> PayloadReaders
Expand description

Returns the payload readers of the feature: one, which reads back the continuation records of cut parts (AnnotationPiece), registered under the element’s name ANNOTATION.

A host that reads back a serialized frozen tree that may hold annotations registers these readers in the reading session (reader_with), together with the readers of the presentation vocabulary when the tree is a lowered one.

§Examples

use flm_core::stdlib::features::annotations::{payload_readers, ANNOTATION};

let readers = payload_readers();
assert!(readers.get(ANNOTATION).is_some());