Struct polygon2::Intersection[][src]

pub struct Intersection<T> {
    pub edge: usize,
    pub distance: T,
    pub point: [T; 2],
    pub normal: [T; 2],
}

Fields

Methods

impl<T> Intersection<T> where
    T: Zero + Bounded
[src]

Trait Implementations

impl<T: Debug> Debug for Intersection<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for Intersection<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Intersection<T>
[src]

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

This method tests for !=.

impl<T> From<(usize, T, [T; 2], [T; 2])> for Intersection<T>
[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for Intersection<T> where
    T: Send

impl<T> Sync for Intersection<T> where
    T: Sync