pub trait HasFeatures: Debug {
// Required method
fn feature_names_str(&self) -> Vec<&'static str>;
// Provided methods
fn feature_names_str_set(&self) -> IndexSet<&'static str> { ... }
fn feature_names_string(&self) -> Vec<String> { ... }
fn feature_names_string_set(&self) -> IndexSet<String> { ... }
}Required Methods§
fn feature_names_str(&self) -> Vec<&'static str>
Provided Methods§
fn feature_names_str_set(&self) -> IndexSet<&'static str>
fn feature_names_string(&self) -> Vec<String>
fn feature_names_string_set(&self) -> IndexSet<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".