Struct validate::Rule [] [src]

pub struct Rule<T: ?Sized> { /* fields omitted */ }

Methods

impl<T: 'static> Rule<T>
[src]

[src]

impl<T: ?Sized + 'static> Rule<T>
[src]

[src]

[src]

[src]

Trait Implementations

impl<T: ?Sized, F> From<F> for Rule<T> where
    F: Fn(&T) -> ValidationResult + 'static,
    T: , 
[src]

[src]

Performs the conversion.

impl<T: ?Sized + 'static, R: Into<Rule<T>>> Add<R> for Rule<T>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.