Struct rusttype::Line [] [src]

pub struct Line {
    pub p: [Point<f32>; 2],
}

A straight line between two points, p[0] and p[1]

Fields

p: [Point<f32>; 2]

Trait Implementations

impl Debug for Line
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Line
[src]

fn clone(&self) -> Line

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Line
[src]