Skip to main content

ValidField

Trait ValidField 

Source
pub trait ValidField {
    // Required methods
    fn is_valid(&self) -> bool;
    fn touch(&self);

    // Provided methods
    fn error_text(&self) -> Option<String> { ... }
    fn track(&self) { ... }
}

Required Methods§

Source

fn is_valid(&self) -> bool

Source

fn touch(&self)

Provided Methods§

Source

fn error_text(&self) -> Option<String>

Source

fn track(&self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§