Skip to main content

NumericPoint

Trait NumericPoint 

Source
pub trait NumericPoint {
    // Required method
    fn as_f64(&self) -> Option<f64>;
}
Expand description

Common numeric point operations.

Required Methods§

Source

fn as_f64(&self) -> Option<f64>

Get the value as f64 for calculations.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§