pub trait ValidityStateMethods<D: DomTypes> {
// Required methods
fn ValueMissing(&self) -> bool;
fn TypeMismatch(&self) -> bool;
fn PatternMismatch(&self) -> bool;
fn TooLong(&self) -> bool;
fn TooShort(&self) -> bool;
fn RangeUnderflow(&self) -> bool;
fn RangeOverflow(&self) -> bool;
fn StepMismatch(&self) -> bool;
fn BadInput(&self) -> bool;
fn CustomError(&self) -> bool;
fn Valid(&self) -> bool;
}Required Methods§
fn ValueMissing(&self) -> bool
fn TypeMismatch(&self) -> bool
fn PatternMismatch(&self) -> bool
fn TooLong(&self) -> bool
fn TooShort(&self) -> bool
fn RangeUnderflow(&self) -> bool
fn RangeOverflow(&self) -> bool
fn StepMismatch(&self) -> bool
fn BadInput(&self) -> bool
fn CustomError(&self) -> bool
fn Valid(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".