pub trait AnnotationText {
// Required method
fn into_option_string(self) -> Option<String>;
}Expand description
Something that can be converted to Option<String>.
You probably shouldn’t implement this trait yourself, it’s here only
to simplify annotation creation syntax.
Required Methods§
fn into_option_string(self) -> Option<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".