Trait gooey::core::figures::Vectorlike
[−]pub trait Vectorlike<T, Unit> {
fn to_vector(&self) -> Vector<T, Unit>;
fn to_size(&self) -> Size<T, Unit>;
fn to_point(&self) -> Point<T, Unit>;
}
Expand description
Methods that enable converting between 2d types that have two components.