Trait screech::traits::FromPoints [−][src]
pub trait FromPoints<T: Sized, U> {
fn from_points(points: Vec<T>) -> U;
}
Expand description
Trait to implement conversion from a slice of sized types to a generic
Required methods
fn from_points(points: Vec<T>) -> U
fn from_points(points: Vec<T>) -> U
Create new instance based on sequence of points