[][src]Struct duckduckgeo::Ray

pub struct Ray<N> {
    pub point: Vec2<N>,
    pub dir: Vec2<N>,
}

A Ray.

Fields

point: Vec2<N>dir: Vec2<N>

Methods

impl<N> Ray<N>[src]

pub fn new(point: Vec2<N>, dir: Vec2<N>) -> Ray<N>[src]

pub fn inner_into<B: From<N>>(self) -> Ray<B>[src]

pub fn inner_try_into<B: TryFrom<N>>(self) -> Result<Ray<B>, B::Error>[src]

Trait Implementations

impl<N: Clone> Clone for Ray<N>[src]

impl<N: Copy> Copy for Ray<N>[src]

impl<N: Debug> Debug for Ray<N>[src]

Auto Trait Implementations

impl<N> Send for Ray<N> where
    N: Send

impl<N> Unpin for Ray<N> where
    N: Unpin

impl<N> Sync for Ray<N> where
    N: Sync

impl<N> UnwindSafe for Ray<N> where
    N: UnwindSafe

impl<N> RefUnwindSafe for Ray<N> where
    N: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,