Trait OptionalAnnotationType

Source
pub trait OptionalAnnotationType {
    // Required method
    fn opt_anno_type<T: AnnotationType>(&self, opt_self: &Option<T>) -> Vec<u8> ;
}

Required Methods§

Source

fn opt_anno_type<T: AnnotationType>(&self, opt_self: &Option<T>) -> Vec<u8>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§