[−][src]Struct all_is_cubes::raycast::Ray
A ray; a half-infinite line segment.
Fields
origin: Point3<FreeCoordinate>
The sole endpoint of the ray.
direction: Vector3<FreeCoordinate>
The direction in which the ray extends infinitely.
The meaning, if any, of the magnitude of this vector depends on context.
Implementations
impl Ray
[src]
pub fn cast(&self) -> RaycasterⓘNotable traits for Raycaster
impl Iterator for Raycaster type Item = RaycastStep;
[src]
Notable traits for Raycaster
impl Iterator for Raycaster type Item = RaycastStep;
Construct a Raycaster
initialized with this ray.
Trait Implementations
impl Add<Vector3<f64>> for Ray
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, offset: Vector3<FreeCoordinate>) -> Self
[src]
Translate this ray; add the argument to its origin.
impl Clone for Ray
[src]
impl Copy for Ray
[src]
impl Debug for Ray
[src]
impl PartialEq<Ray> for Ray
[src]
impl StructuralPartialEq for Ray
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ray
impl Send for Ray
impl Sync for Ray
impl Unpin for Ray
impl UnwindSafe for Ray
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,