Trait BehaviourPropertyValidator

pub trait BehaviourPropertyValidator<ID, T>: ReactiveInstanceContainer<ID, T>
where ID: Clone, T: ReactiveInstance<ID> + BehaviourTypesContainer,
{ // Provided methods fn validate_properties(&self) -> Result<(), BehaviourPropertyInvalid> { ... } fn validate_property( &self, property_name: &str, ) -> Result<(), BehaviourPropertyInvalid> { ... } }

Provided Methods§

fn validate_properties(&self) -> Result<(), BehaviourPropertyInvalid>

Validates the properties of the reactive instance.

fn validate_property( &self, property_name: &str, ) -> Result<(), BehaviourPropertyInvalid>

Validates the property with the given name.

Implementors§