pub trait ToLower {
    // Required method
    fn to_lower(&self) -> Self;
}

Required Methods§

source

fn to_lower(&self) -> Self

Implementations on Foreign Types§

source§

impl ToLower for u8

source§

fn to_lower(&self) -> u8

| Converts the given character to its | lowercase equivalent. | | This function is locale independent. | It only converts uppercase characters | in the standard 7-bit ASCII range. | | This is a feature, not a limitation. | | ———– | @param[in] c | | the character to convert to lowercase. | | ———– | @return | | the lowercase equivalent of c; or the | argument if no conversion is possible. |

source§

impl ToLower for String

source§

fn to_lower(&self) -> String

| Returns the lowercase equivalent of | the given string. | | This function is locale independent. | It only converts uppercase characters | in the standard 7-bit ASCII range. | | This is a feature, not a limitation. | | ———– | @param[in] str | | the string to convert to lowercase. | | ———– | @return | | lowercased equivalent of str |

Implementors§