pub trait BoxableInstance {
// Required methods
fn from_box(boxed: &BoxedInstance) -> Option<Arc<Self>>;
fn into_box(self) -> BoxedInstance;
fn get_display_value_static() -> String;
fn get_display_value(&self) -> String;
fn get_prefix_value(&self) -> String;
}
Required Methods§
fn from_box(boxed: &BoxedInstance) -> Option<Arc<Self>>
fn into_box(self) -> BoxedInstance
fn get_display_value_static() -> String
fn get_display_value(&self) -> String
fn get_prefix_value(&self) -> String
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.