Trait rustc_data_structures::base_n::ToBaseN
source · 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
Object Safety§
This trait is not object safe.