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]
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Intersection<T>
impl<T: Clone> Clone for Intersection<T>
Source§fn clone(&self) -> Intersection<T>
fn clone(&self) -> Intersection<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for Intersection<T>
impl<T: Debug> Debug for Intersection<T>
Source§impl<T: PartialEq> PartialEq for Intersection<T>
impl<T: PartialEq> PartialEq for Intersection<T>
impl<T> StructuralPartialEq for Intersection<T>
Auto Trait Implementations§
impl<T> Freeze for Intersection<T>where
T: Freeze,
impl<T> RefUnwindSafe for Intersection<T>where
T: RefUnwindSafe,
impl<T> Send for Intersection<T>where
T: Send,
impl<T> Sync for Intersection<T>where
T: Sync,
impl<T> Unpin for Intersection<T>where
T: Unpin,
impl<T> UnwindSafe for Intersection<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more