[][src]Struct skia_safe::utils::Patch3D

#[repr(C)]
pub struct Patch3D {
    pub u: Vector3D,
    pub v: Vector3D,
    pub origin: Point3D,
}

Fields

u: Vector3Dv: Vector3Dorigin: Point3D

Methods

impl Patch3D[src]

pub fn reset(&mut self) -> &mut Self[src]

pub fn transform(&self, m: &Matrix3D) -> Self[src]

pub fn dot_with(&self, v: impl Into<Vector3D>) -> scalar[src]

Trait Implementations

impl Default for Patch3D[src]

impl Clone for Patch3D[src]

impl PartialEq<Patch3D> for Patch3D[src]

impl Debug for Patch3D[src]

Auto Trait Implementations

impl Send for Patch3D

impl Unpin for Patch3D

impl Sync for Patch3D

impl RefUnwindSafe for Patch3D

impl UnwindSafe for Patch3D

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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