pub trait Comments {
// Required methods
fn comment(text: &str) -> String;
fn doc(text: &str) -> String;
}Expand description
How the language writes comments.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".