reflexo_typst2vec::utils

Trait AbsExt

source
pub trait AbsExt {
    // Required method
    fn to_f32(self) -> f32;
}
Expand description

Additional methods for typst::layout::Abs.

Required Methods§

source

fn to_f32(self) -> f32

Convert to a number of points as f32.

Implementations on Foreign Types§

source§

impl AbsExt for Abs

source§

fn to_f32(self) -> f32

Implementors§