Skip to main content

Validate

Trait Validate 

Source
pub trait Validate {
    // Provided method
    fn validate(&self) -> bool { ... }
}
Expand description

Table validation trait. Implement on your config struct to reject invalid ground loads.

The default implementation accepts all loads.

Provided Methods§

Source

fn validate(&self) -> bool

Returns true if this configuration is valid.

Implementors§