pub trait Radix {
// Required methods
fn binary(&self) -> Self;
fn octal(&self) -> Self;
fn decimal(&self) -> Self;
fn hex(&self) -> Self;
fn hexl(&self) -> Self;
}
Expand description
Default Radix type conversion for Digits
Required Methods§
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.