pub trait Log<Base: FloatingNumber = Self>: Sized {
type Output;
// Required method
fn log(self, base: &Base) -> Option<Self::Output>;
// Provided methods
fn lg2(self) -> Option<Self::Output> { ... }
fn lg(self) -> Option<Self::Output> { ... }
fn ln(self) -> Option<Self::Output> { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
fn lg2(self) -> Option<Self::Output>
fn lg(self) -> Option<Self::Output>
fn ln(self) -> Option<Self::Output>
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.