pub trait ReactiveInstanceContainer<ID: Clone, T: ReactiveInstance<ID>> {
// Required method
fn get_reactive_instance(&self) -> &T;
// Provided methods
fn get(&self, property_name: &str) -> Option<Value> { ... }
fn set(&self, property_name: &str, value: Value) { ... }
}
Required Methods§
Sourcefn get_reactive_instance(&self) -> &T
fn get_reactive_instance(&self) -> &T
Returns the reactive instance of the behaviour.