RootedPathExt

Trait RootedPathExt 

Source
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§

Source

fn package_compat(&self) -> Option<&PackageSpec>

The package the path resides in, if any.

Implementations on Foreign Types§

Source§

impl RootedPathExt for RootedPath

Source§

fn package_compat(&self) -> Option<&PackageSpec>

Implementors§