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