Trait Category
Source pub trait Category {
type D;
// Required method
fn category(&self) -> Self::D;
}
Type returned from destructure.
Should probably be CatFloat
Splits an f64 into its Integer and Fractional parts.
§Examples:
let n: f64 = 1.5;
assert_eq!(n.category(), CatFloat::IntegerAndFractionalPart(1.0, 0.5));