[][src]Struct skia_safe::utils::Point3D

#[repr(C)]
pub struct Point3D {
    pub x: scalar,
    pub y: scalar,
    pub z: scalar,
}

Fields

x: scalary: scalarz: scalar

Methods

impl Point3D[src]

pub fn set(&mut self, x: scalar, y: scalar, z: scalar) -> &mut Self[src]

pub fn normalize(&self, unit: &mut Unit3D) -> scalar[src]

Trait Implementations

impl Default for Point3D[src]

impl Clone for Point3D[src]

impl PartialEq<Point3D> for Point3D[src]

impl From<(f32, f32, f32)> for Point3D[src]

impl Copy for Point3D[src]

impl Debug for Point3D[src]

Auto Trait Implementations

impl Send for Point3D

impl Unpin for Point3D

impl Sync for Point3D

impl UnwindSafe for Point3D

impl RefUnwindSafe for Point3D

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]