reflexo_typst2vec::ir

Trait ModuleStream

Source
pub trait ModuleStream {
    // Required methods
    fn items(&self) -> ItemPack;
    fn layouts(&self) -> Arc<Vec<LayoutRegion>>;
    fn fonts(&self) -> Arc<IncrFontPack>;
    fn glyphs(&self) -> Arc<IncrGlyphPack>;

    // Provided method
    fn gc_items(&self) -> Option<Vec<Fingerprint>> { ... }
}
Expand description

Trait of a streaming representation of a module.

Required Methods§

Provided Methods§

Implementors§