Skip to main content

IsLowercased

Trait IsLowercased 

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

To extend str to have is_lowercased method.

Required Methods§

Source

fn is_lowercased(&self) -> bool

Returns true if all characters in the string are not uppercase 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 IsLowercased for str

Implementors§