pub struct Ray<F, const D: usize>where
F: Float,{
pub r: [F; D],
pub v: [F; D],
}
Fields§
§r: [F; D]
§v: [F; D]
Implementations§
Trait Implementations§
impl<F, const D: usize> Copy for Ray<F, D>
Auto Trait Implementations§
impl<F, const D: usize> Freeze for Ray<F, D>where
F: Freeze,
impl<F, const D: usize> RefUnwindSafe for Ray<F, D>where
F: RefUnwindSafe,
impl<F, const D: usize> Send for Ray<F, D>where
F: Send,
impl<F, const D: usize> Sync for Ray<F, D>where
F: Sync,
impl<F, const D: usize> Unpin for Ray<F, D>where
F: Unpin,
impl<F, const D: usize> UnwindSafe for Ray<F, D>where
F: 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