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

Trait Implementations

Derived Implementations

impl PartialOrd for Line

fn partial_cmp(&self, __arg_0: &Line) -> Option<Ordering>

fn lt(&self, __arg_0: &Line) -> bool

fn le(&self, __arg_0: &Line) -> bool

fn gt(&self, __arg_0: &Line) -> bool

fn ge(&self, __arg_0: &Line) -> bool

impl PartialEq for Line

fn eq(&self, __arg_0: &Line) -> bool

fn ne(&self, __arg_0: &Line) -> bool

impl Debug for Line

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

impl Clone for Line

fn clone(&self) -> Line

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

impl Copy for Line