Trait CompilerFeat

Source
pub trait CompilerFeat:
    Send
    + Sync
    + 'static {
    type FontResolver: FontResolver + Send + Sync + Sized;
    type AccessModel: VfsAccessModel + Clone + Send + Sync + Sized;
    type Registry: PackageRegistry + Send + Sync + Sized;
}
Expand description

The type trait interface of CompilerWorld.

Required Associated Types§

Source

type FontResolver: FontResolver + Send + Sync + Sized

The font resolver for the typst compiler.

Source

type AccessModel: VfsAccessModel + Clone + Send + Sync + Sized

The access model for the VFS.

Source

type Registry: PackageRegistry + Send + Sync + Sized

The package registry for the typst compiler.

Implementors§