pub struct Ray<T: Affine>(pub T, pub T::Diff);Expand description
A ray, or a half line, composed of an initial point and a direction vector.
Tuple Fields§
§0: T§1: T::DiffTrait Implementations§
Source§impl<T> Parametric<T> for Ray<T>
impl<T> Parametric<T> for Ray<T>
impl<T: Copy + Affine> Copy for Ray<T>
impl<T: Eq + Affine> Eq for Ray<T>
impl<T: Affine> StructuralPartialEq for Ray<T>
Auto Trait Implementations§
impl<T> Freeze for Ray<T>
impl<T> RefUnwindSafe for Ray<T>
impl<T> Send for Ray<T>
impl<T> Sync for Ray<T>
impl<T> Unpin for Ray<T>
impl<T> UnwindSafe for Ray<T>
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