Struct ringraphics::Line [−][src]
Fields
p1: Pnt2
p2: Pnt2
Methods
impl Line
[src]
impl Line
pub fn to_mesh(self) -> Mesh<Vec2>
[src]
pub fn to_mesh(self) -> Mesh<Vec2>
pub fn to_color_mesh<C: ToRgba>(self, color: &C) -> Mesh<Vertex2DColor>
[src]
pub fn to_color_mesh<C: ToRgba>(self, color: &C) -> Mesh<Vertex2DColor>
Trait Implementations
impl Debug for Line
[src]
impl Debug for Line
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Line
[src]
impl Clone for Line