Trait bitcoin_string::ToUpper
source · pub trait ToUpper {
// Required method
fn to_upper(&self) -> Self;
}Required Methods§
Implementations on Foreign Types§
source§impl ToUpper for String
impl ToUpper for String
| Returns the uppercase equivalent of | the given string. | | This function is locale independent. | It only converts lowercase characters | in the standard 7-bit ASCII range. | | This is a feature, not a limitation. | | ———– | @param[in] str | | the string to convert to uppercase. | | ———– | @return | | UPPERCASED EQUIVALENT OF str |
source§impl ToUpper for u8
impl ToUpper for u8
| Converts the given character to its | uppercase equivalent. | | This function is locale independent. | It only converts lowercase characters | in the standard 7-bit ASCII range. | | This is a feature, not a limitation. | | ———– | @param[in] c | | the character to convert to uppercase. | | ———– | @return | | the uppercase equivalent of c; or the | argument if no conversion is possible. |