Struct polygon2::Intersection [−][src]
pub struct Intersection<T> { pub edge: usize, pub distance: T, pub point: [T; 2], pub normal: [T; 2], }
Fields
edge: usize
distance: T
point: [T; 2]
normal: [T; 2]
Methods
impl<T> Intersection<T> where
T: Zero + Bounded,
[src]
impl<T> Intersection<T> where
T: Zero + Bounded,
Trait Implementations
impl<T: Debug> Debug for Intersection<T>
[src]
impl<T: Debug> Debug for Intersection<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for Intersection<T>
[src]
impl<T: Clone> Clone for Intersection<T>
fn clone(&self) -> Intersection<T>
[src]
fn clone(&self) -> Intersection<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: PartialEq> PartialEq for Intersection<T>
[src]
impl<T: PartialEq> PartialEq for Intersection<T>
fn eq(&self, other: &Intersection<T>) -> bool
[src]
fn eq(&self, other: &Intersection<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Intersection<T>) -> bool
[src]
fn ne(&self, other: &Intersection<T>) -> bool
This method tests for !=
.
impl<T> From<(usize, T, [T; 2], [T; 2])> for Intersection<T>
[src]
impl<T> From<(usize, T, [T; 2], [T; 2])> for Intersection<T>
Auto Trait Implementations
impl<T> Send for Intersection<T> where
T: Send,
impl<T> Send for Intersection<T> where
T: Send,
impl<T> Sync for Intersection<T> where
T: Sync,
impl<T> Sync for Intersection<T> where
T: Sync,