TryIntoTypst

Trait TryIntoTypst 

Source
pub trait TryIntoTypst<T>: Sized {
    type Error;

    // Required method
    fn try_into_typst(self) -> Result<T, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn try_into_typst(self) -> Result<T, Self::Error>

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.

Implementors§

Source§

impl<T, U> TryIntoTypst<U> for T
where U: TryFromTypst<T>,

Source§

type Error = <U as TryFromTypst<T>>::Error