InvariantsFnTyped

Type Alias InvariantsFnTyped 

Source
pub type InvariantsFnTyped<T> = fn(value: &T) -> bool;
Expand description

Function to validate the invariants of a value. If it returns false, the value is considered invalid.