Struct geomprim2d::Segment[][src]

pub struct Segment<S: Scalar> {
    pub s: Point<S>,
    pub e: Point<S>,
}

Fields

Methods

impl<S: Scalar> Segment<S>
[src]

Trait Implementations

impl<S: Debug + Scalar> Debug for Segment<S>
[src]

Formats the value using the given formatter. Read more

impl<S: Clone + Scalar> Clone for Segment<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Copy + Scalar> Copy for Segment<S>
[src]

Auto Trait Implementations

impl<S> Send for Segment<S>

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