[][src]Struct rust_3d::Point3D

pub struct Point3D {
    pub x: f64,
    pub y: f64,
    pub z: f64,
}

Point3D, a point / position within 3D space

Fields

x: f64y: f64z: f64

Implementations

impl Point3D[src]

pub fn new(x: f64, y: f64, z: f64) -> Self[src]

Trait Implementations

impl<P, '_, '_> Add<&'_ P> for &'_ Point3D where
    P: Is3D
[src]

type Output = Point3D

The resulting type after applying the + operator.

impl<P> Add<P> for Point3D where
    P: Is3D
[src]

type Output = Point3D

The resulting type after applying the + operator.

impl<'_> Add<Point3D> for &'_ Point3D[src]

type Output = Point3D

The resulting type after applying the + operator.

impl Clone for Point3D[src]

impl Debug for Point3D[src]

impl Default for Point3D[src]

impl Display for Point3D[src]

impl Div<f64> for Point3D[src]

type Output = Point3D

The resulting type after applying the / operator.

impl<'_> Div<f64> for &'_ Point3D[src]

type Output = Point3D

The resulting type after applying the / operator.

impl Eq for Point3D[src]

impl Hash for Point3D[src]

impl Is3D for Point3D[src]

impl IsBuildable3D for Point3D[src]

impl IsBuildableND for Point3D[src]

impl IsEditable3D for Point3D[src]

impl IsEditableND for Point3D[src]

impl IsMatrix4Transformable for Point3D[src]

impl IsMovable3D for Point3D[src]

impl IsND for Point3D[src]

impl IsTransFormableTo2D for Point3D[src]

impl Mul<f64> for Point3D[src]

type Output = Point3D

The resulting type after applying the * operator.

impl<'_> Mul<f64> for &'_ Point3D[src]

type Output = Point3D

The resulting type after applying the * operator.

impl Neg for Point3D[src]

type Output = Point3D

The resulting type after applying the - operator.

impl<'_> Neg for &'_ Point3D[src]

type Output = Point3D

The resulting type after applying the - operator.

impl Ord for Point3D[src]

impl PartialEq<Point3D> for Point3D[src]

impl PartialOrd<Point3D> for Point3D[src]

impl StructuralPartialEq for Point3D[src]

impl<P, '_, '_> Sub<&'_ P> for &'_ Point3D where
    P: Is3D
[src]

type Output = Point3D

The resulting type after applying the - operator.

impl<P> Sub<P> for Point3D where
    P: Is3D
[src]

type Output = Point3D

The resulting type after applying the - operator.

impl<'_> Sub<Point3D> for &'_ Point3D[src]

type Output = Point3D

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Point3D

impl Send for Point3D

impl Sync for Point3D

impl Unpin for Point3D

impl UnwindSafe for Point3D

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.