pub struct Ray3d {
pub origin: Vec3,
pub direction: Direction3d,
}
Expand description
An infinite half-line starting at origin
and going in direction
in 3D space.
Fields§
§origin: Vec3
The origin of the ray.
direction: Direction3d
The direction of the ray.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ray3d
impl<'de> Deserialize<'de> for Ray3d
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Ray3d
impl PartialEq for Ray3d
impl Copy for Ray3d
impl StructuralPartialEq for Ray3d
Auto Trait Implementations§
impl RefUnwindSafe for Ray3d
impl Send for Ray3d
impl Sync for Ray3d
impl Unpin for Ray3d
impl UnwindSafe for Ray3d
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