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§