Function is_at_least_rusty

Source
pub fn is_at_least_rusty<D: Display>(string: D) -> bool
Expand description

Returns whether a value is "rusty" or rust itself, meaning it is at least rusty.

Refer to is_rust and is_rusty.

ยงExamples

Rust and rusty values are both accepted:

assert!(is_rust::is_at_least_rusty("rust"));
assert!(is_rust::is_at_least_rusty("rusty"));