CompilerFeat

Trait CompilerFeat 

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

type trait interface of CompilerWorld.

Required Associated Types§

Source

type FontResolver: FontResolver + Send + Sync + Sized

Specify the font resolver for typst compiler.

Source

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

Specify the access model for VFS.

Source

type Registry: PackageRegistry + Send + Sync + Sized

Specify the package registry.

Implementors§