tinymist_world::system

Type Alias TypstSystemUniverse

Source
pub type TypstSystemUniverse = CompilerUniverse<SystemCompilerFeat>;
Expand description

The compiler universe in system environment.

Aliased Type§

struct TypstSystemUniverse {
    pub features: Features,
    pub font_resolver: Arc<FontResolverImpl>,
    pub registry: Arc<HttpRegistry>,
    pub revision: NonZero<usize>,
    /* private fields */
}

Fields§

§features: Features

Features enabled for the compiler.

§font_resolver: Arc<FontResolverImpl>

Provides font management for typst compiler.

§registry: Arc<HttpRegistry>

Provides package management for typst compiler.

§revision: NonZero<usize>

The current revision of the universe.

Implementations§

Source§

impl TypstSystemUniverse

Source

pub fn new(opts: CompileOpts) -> Result<Self>

Create TypstSystemWorld with the given options. See SystemCompilerFeat for instantiation details. See CompileOpts for available options.