cursive::vec
pub trait ToVec2 { fn to_vec2(self) -> Vec2; }
A generic trait for converting a value into a 2D vector.
fn to_vec2(self) -> Vec2
Converts self into a Vec2.
impl ToVec2 for Vec2
impl ToVec2 for (i32, i32)
impl ToVec2 for (usize, usize)
impl ToVec2 for (u32, u32)