Struct quicksilver::geom::Line [] [src]

pub struct Line {
    pub start: Vector,
    pub end: Vector,
}

Represents a 2D line segment

Fields

Methods

impl Line
[src]

[src]

[src]

Check if two line segments interact

[src]

[src]

Trait Implementations

impl Copy for Line
[src]

impl Clone for Line
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Line
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Line
[src]

[src]

Formats the value using the given formatter.

impl Eq for Line
[src]

impl PartialEq for Line
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.