typwire 0.2.0

Typed data exchange for Typst plugins.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Types from Typst's `layout` category: <https://typst.app/docs/reference/layout/>.

mod alignment;
mod angle;
mod length;
mod radius;
mod ratio;

pub use alignment::{Alignment, HAlignment, VAlignment};
pub use angle::Angle;
pub(crate) use angle::radians;
pub use length::Length;
pub use radius::Radius;
pub use ratio::Ratio;
pub(crate) use ratio::fraction;