[][src]Struct rust_3d::Line3D

pub struct Line3D {
    pub anchor: Point3D,
    pub dir: Norm3D,
}

Line3D, a line within 3D space

Fields

anchor: Point3Ddir: Norm3D

Implementations

impl Line3D[src]

pub fn new(anchor: Point3D, dir: Norm3D) -> Self[src]

Creates a new Line3D from an anchor point and a direction

Trait Implementations

impl Clone for Line3D[src]

impl Debug for Line3D[src]

impl Display for Line3D[src]

impl Eq for Line3D[src]

impl Hash for Line3D[src]

impl IsMovable3D for Line3D[src]

impl Ord for Line3D[src]

impl PartialEq<Line3D> for Line3D[src]

impl PartialOrd<Line3D> for Line3D[src]

impl StructuralEq for Line3D[src]

impl StructuralPartialEq for Line3D[src]

Auto Trait Implementations

impl RefUnwindSafe for Line3D

impl Send for Line3D

impl Sync for Line3D

impl Unpin for Line3D

impl UnwindSafe for Line3D

Blanket Implementations

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

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

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

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

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> ToString for T where
    T: Display + ?Sized
[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.