Trait taffy::style_helpers::FromPoints
source · 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§
sourcefn from_points<Input: Into<f32> + Copy>(points: Input) -> Self
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.