Trait BehaviourPropertyValidator

Source
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§

Source

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

Validates the properties of the reactive instance.

Source

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

Validates the property with the given name.

Implementors§