Skip to main content

IsValidLength

Trait IsValidLength 

Source
pub trait IsValidLength {
    // Required method
    fn is_valid_length(&self) -> bool;
}
Expand description

Checks that the current number is > 0.

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl IsValidLength for f32

Source§

impl IsValidLength for f64

Implementors§