pub trait Split: SplitMixed<Self::Output, Self::Output> {
type Output;
// Provided method
fn split(&self) -> (Self::Output, Self::Output) { ... }
}
Expand description
Split a number in half, returning the most significant half followed by the least significant.
Required Associated Types§
Provided Methods§
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.