Trait plasmo::FromPoints

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

Trait to create constant points values from plain numbers

Required Methods§

source

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

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>(points: Input) -> Option<f32>
where Input: Into<f32> + Copy,

source§

impl FromPoints for f32

source§

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

Implementors§