Type Alias Typst2VecPass

Source
pub type Typst2VecPass = Typst2VecPassImpl<false>;

Aliased Type§

struct Typst2VecPass {
    pub glyphs: TGlyph2VecPass,
    pub spans: Span2VecPass,
    pub cache_items: FingerprintMap<(AtomicU64, Fingerprint, VecItem)>,
    pub items: FingerprintMap<(AtomicU64, VecItem)>,
    pub new_items: Mutex<RawMutex, Vec<(Fingerprint, VecItem)>>,
    pub command_executor: Arc<dyn CommandExecutor + Send + Sync>,
    pub lifetime: u64,
    /* private fields */
}

Fields§

§glyphs: TGlyph2VecPass§spans: Span2VecPass§cache_items: FingerprintMap<(AtomicU64, Fingerprint, VecItem)>§items: FingerprintMap<(AtomicU64, VecItem)>§new_items: Mutex<RawMutex, Vec<(Fingerprint, VecItem)>>§command_executor: Arc<dyn CommandExecutor + Send + Sync>§lifetime: u64

Implementations§

Source§

impl Typst2VecPass

Source

pub fn intern(&mut self, m: &Module, f: &Fingerprint)