pub trait LogBase10 {
type Output;
// Required method
fn log_base_10(self) -> Self::Output;
}Expand description
Calculates the base-10 logarithm of a number, rounding the (generally irrational) result.
Required Associated Types§
Required Methods§
fn log_base_10(self) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".