Trait Split
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§
type Output
type Output
Split output: high/low components of the value.
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.