pub struct Ray2 {
pub origin: Point2,
pub dir: Point2,
}Expand description
Ray starting at origin going in direction dir.
Fields§
§origin: Point2§dir: Point2Implementations§
Trait Implementations§
impl Copy for Ray2
impl StructuralPartialEq for Ray2
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