pub trait IsUppercased {
// Required method
fn is_uppercased(&self) -> bool;
}Expand description
To extend str to have is_uppercased method.
Required Methods§
Sourcefn is_uppercased(&self) -> bool
fn is_uppercased(&self) -> bool
Returns true if all characters in the string are not lowercase according to Unicode.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".