pub trait ToTsType {
// Required method
fn to_ts_type(&self) -> Result<TsType, TsTypeError>;
}Required Methods§
fn to_ts_type(&self) -> Result<TsType, TsTypeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".