pub trait ToBaseN: Into<u128> {
// Required method
fn encoded_len(base: usize) -> usize;
// Provided methods
fn to_base_fixed_len(self, base: usize) -> BaseNString { ... }
fn to_base(self, base: usize) -> BaseNString { ... }
}
Required Methods§
fn encoded_len(base: usize) -> usize
Provided Methods§
fn to_base_fixed_len(self, base: usize) -> BaseNString
fn to_base(self, base: usize) -> BaseNString
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.