pub trait BehaviourPropertyValidator<ID: Clone, T: ReactiveInstance<ID> + BehaviourTypesContainer>: ReactiveInstanceContainer<ID, T> {
// Provided methods
fn validate_properties(&self) -> Result<(), BehaviourPropertyInvalid> { ... }
fn validate_property(
&self,
property_name: &str,
) -> Result<(), BehaviourPropertyInvalid> { ... }
}
Provided Methods§
Sourcefn validate_properties(&self) -> Result<(), BehaviourPropertyInvalid>
fn validate_properties(&self) -> Result<(), BehaviourPropertyInvalid>
Validates the properties of the reactive instance.
Sourcefn validate_property(
&self,
property_name: &str,
) -> Result<(), BehaviourPropertyInvalid>
fn validate_property( &self, property_name: &str, ) -> Result<(), BehaviourPropertyInvalid>
Validates the property with the given name.