Skip to main content

HasFeatures

Trait HasFeatures 

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

Source

fn feature_names_str(&self) -> Vec<&'static str>

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§