pub trait ToRust {
// Required methods
fn to_rust_ref(&self, serde_with: bool) -> String;
fn to_rust_decl(&self, serde_with: bool, add_derives: bool) -> String;
fn add_derives(&self, input: String) -> String;
}Required Methods§
fn to_rust_ref(&self, serde_with: bool) -> String
fn to_rust_decl(&self, serde_with: bool, add_derives: bool) -> String
fn add_derives(&self, input: String) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".