pub trait u32Ext {
// Required method
fn to_formatted_string(&self) -> String;
}Expand description
Trait for the u32::to_formatted_string method.
Required Methods§
Sourcefn to_formatted_string(&self) -> String
fn to_formatted_string(&self) -> String
Format integers consistenly using the Browser’s native NumberFormat.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl u32Ext for u32
Trait for the u32::to_formatted_string method.
impl u32Ext for u32
Trait for the u32::to_formatted_string method.
Source§fn to_formatted_string(&self) -> String
fn to_formatted_string(&self) -> String
Format integers consistenly using the Browser’s native NumberFormat.