pub trait IsValidLength {
// Required method
fn is_valid_length(&self) -> bool;
}Expand description
Checks that the current number is > 0.
Required Methods§
Sourcefn is_valid_length(&self) -> bool
fn is_valid_length(&self) -> bool
Checks that the current number is > 0.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".