pub struct Ray2 {
pub origin: Point2,
pub dir: Point2,
}Expand description
2D ray.
Fields§
§origin: Point2§dir: Point2Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ray2
impl RefUnwindSafe for Ray2
impl Send for Ray2
impl Sync for Ray2
impl Unpin for Ray2
impl UnsafeUnpin for Ray2
impl UnwindSafe for Ray2
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