FloatOps

Trait FloatOps 

Source
pub trait FloatOps:
    NumericOps
    + Float
    + FromPrimitive
    + ToPrimitive
    + FloatCore { }
Expand description

A trait for floating-point numeric operations.

Extends NumericOps with floating-point specific operations from the num_traits crate, including floating-point arithmetic, primitive conversions, and core floating-point functionality. This trait is designed for types that represent real numbers with decimal precision.

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.

Implementors§