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>,
pub creation_timestamp: Option<i64>,
/* private fields */
}
Fields§
§features: Features
The features enabled for the compiler.
font_resolver: Arc<FontResolverImpl>
The font resolver for the compiler.
registry: Arc<HttpRegistry>
The package registry for the compiler.
revision: NonZero<usize>
The current revision of the universe.
The revision is incremented when the universe is mutated.
creation_timestamp: Option<i64>
The creation timestamp for reproducible builds.
Implementations§
Source§impl TypstSystemUniverse
impl TypstSystemUniverse
Sourcepub fn new(opts: CompileOpts) -> Result<Self>
pub fn new(opts: CompileOpts) -> Result<Self>
Create TypstSystemWorld
with the given options.
See SystemCompilerFeat for instantiation details.
See CompileOpts
for available options.