Function is_rust::is_at_least_rusty
[−]
[src]
pub fn is_at_least_rusty<D: Display>(string: D) -> bool
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"));