Struct lyon::geom::Line[]

pub struct Line<S> {
    pub point: TypedPoint2D<S, UnknownUnit>,
    pub vector: TypedVector2D<S, UnknownUnit>,
}

An infinite line defined by a point and a vector.

Fields

Methods

impl<S> Line<S> where
    S: Scalar, 

Trait Implementations

impl<S> Clone for Line<S> where
    S: Clone

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S> Debug for Line<S> where
    S: Debug

Formats the value using the given formatter. Read more

impl<S> Copy for Line<S> where
    S: Copy

Auto Trait Implementations

impl<S> Send for Line<S> where
    S: Send

impl<S> Sync for Line<S> where
    S: Sync