pub trait FromPoints {
    // Required method
    fn from_points<Input: Into<f32> + Copy>(points: Input) -> Self;
}
Expand description

Trait to create constant points values from plain numbers

Required Methods§

source

fn from_points<Input: Into<f32> + Copy>(points: Input) -> Self

Converts into an Into<f32> into Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromPoints for Option<f32>

source§

fn from_points<Input: Into<f32> + Copy>(points: Input) -> Self

source§

impl FromPoints for f32

source§

fn from_points<Input: Into<f32> + Copy>(points: Input) -> Self

Implementors§