Trait AnnotationText

Source
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§

Implementations on Foreign Types§

Source§

impl AnnotationText for &str

Source§

impl AnnotationText for Option<String>

Source§

impl AnnotationText for String

Implementors§