Skip to main content

TypeScriptTypeMapper

Trait TypeScriptTypeMapper 

Source
pub trait TypeScriptTypeMapper {
    // Required method
    fn to_typescript_type(&self) -> String;
}
Expand description

Trait for generating TypeScript type mappings

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§