pub trait Property<G, S> {
    // Required methods
    fn get(&self) -> G;
    fn set(&self, value: S);
}
Expand description

A property is something that has a setter and a getter.

Required Methods§

source

fn get(&self) -> G

source

fn set(&self, value: S)

Implementors§