Skip to main content

IsUppercased

Trait IsUppercased 

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

To extend str to have is_uppercased method.

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl IsUppercased for str

Implementors§