pub trait FromTypst<T>: Sized {
// Required method
fn from_typst(value: T) -> Self;
}Required Methods§
fn from_typst(value: T) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<T, U> FromTypst<Axes<T>> for Axes<U>where
T: IntoTypst<U>,
impl<T, U> FromTypst<Axes<T>> for Axes<U>where
T: IntoTypst<U>,
fn from_typst(axes: Axes<T>) -> Self
Implementors§
impl FromTypst<ColorSpace> for ColorSpace
impl FromTypst<Abs> for reflexo_typst2vec::convert::Scalar
impl FromTypst<Angle> for reflexo_typst2vec::convert::Scalar
impl FromTypst<Point> for Point
impl FromTypst<Ratio> for reflexo_typst2vec::convert::Scalar
impl FromTypst<Transform> for Transform
impl FromTypst<Font> for FontItem
impl FromTypst<Image> for Image
Collect image data from typst::visualize::Image.