Trait easy_ml::numeric::extra::Pi

source ·
pub trait Pi {
    // Required method
    fn pi() -> Self;
}
Expand description

A type which can represent Pi.

Required Methods§

source

fn pi() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Pi for f32

source§

fn pi() -> f32

source§

impl Pi for f64

source§

fn pi() -> f64

Implementors§

source§

impl<'a, T: Numeric + Real + Primitive> Pi for Record<'a, T>

source§

impl<T: Numeric + Real + Primitive> Pi for Trace<T>