Trait splines::interpolate::One

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

Types with a neutral element for multiplication.

Required Methods§

source

fn one() -> Self

The neutral element for the multiplicative monoid — typically called 1.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl One for f32

source§

fn one() -> Self

source§

impl One for f64

source§

fn one() -> Self

Implementors§