pub trait CharConvertTryInto<T>: Sized {
// Required methods
fn into_number(self) -> Option<T>;
fn into_alphabetic_number(self) -> Option<T>;
fn into_lower_alphabetic_number(self) -> Option<T>;
fn into_upper_alphabetic_number(self) -> Option<T>;
}Required Methods§
Sourcefn into_number(self) -> Option<T>
fn into_number(self) -> Option<T>
map '0'..='9' to 0..=9
Sourcefn into_alphabetic_number(self) -> Option<T>
fn into_alphabetic_number(self) -> Option<T>
map ('A'..='Z' or 'a'..='z') to 0..=25
Sourcefn into_lower_alphabetic_number(self) -> Option<T>
fn into_lower_alphabetic_number(self) -> Option<T>
map 'a'..='z' to 0..=25
Sourcefn into_upper_alphabetic_number(self) -> Option<T>
fn into_upper_alphabetic_number(self) -> Option<T>
map 'A'..='Z' to 0..=25
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.