pub struct Ray {
pub pos: Vector,
pub dir: UnitVector,
}
Fields§
§pos: Vector
§dir: UnitVector
Implementations§
Trait Implementations§
Source§impl AlmostEqual for Ray
impl AlmostEqual for Ray
fn almost_equal(&self, other: &Ray) -> bool
impl Copy for Ray
Auto Trait Implementations§
impl Freeze for Ray
impl RefUnwindSafe for Ray
impl Send for Ray
impl Sync for Ray
impl Unpin for Ray
impl UnwindSafe for Ray
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