Skip to main content

DynProperty

Trait DynProperty 

Source
pub trait DynProperty:
    Debug
    + Sync
    + Send {
    // Required methods
    fn get_possible_values(&self) -> Box<[&str]>;
    fn get_name(&self) -> &'static str;
}

Required Methods§

Source

fn get_possible_values(&self) -> Box<[&str]>

Source

fn get_name(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§