pub trait OptionalSemanticType {
// Required method
fn opt_sem_type<T: SemanticType>(&self, opt_self: &Option<T>) -> Vec<u8> ⓘ;
}
Required Methods§
fn opt_sem_type<T: SemanticType>(&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.