pub trait RootedPathExt {
// Required method
fn package_compat(&self) -> Option<&PackageSpec>;
}Expand description
The RootedPathExt trait is designed for compatibility between new and old
versions of typst.
Required Methods§
Sourcefn package_compat(&self) -> Option<&PackageSpec>
fn package_compat(&self) -> Option<&PackageSpec>
The package the path resides in, if any.