[][src]Struct skia_safe::Vector4

#[repr(C)]
pub struct Vector4 { /* fields omitted */ }

Methods

impl Vector4[src]

pub fn new(
    x: scalar,
    y: scalar,
    z: scalar,
    w: impl Into<Option<scalar>>
) -> Self
[src]

pub fn equals(
    &self,
    x: scalar,
    y: scalar,
    z: scalar,
    w: impl Into<Option<scalar>>
) -> bool
[src]

pub fn set(
    &mut self,
    x: scalar,
    y: scalar,
    z: scalar,
    w: impl Into<Option<scalar>>
)
[src]

Trait Implementations

impl Default for Vector4[src]

impl Clone for Vector4[src]

impl PartialEq<Vector4> for Vector4[src]

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

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

impl From<[f32; 4]> for Vector4[src]

impl From<[f32; 3]> for Vector4[src]

impl Copy for Vector4[src]

impl Mul<Vector4> for Matrix44[src]

type Output = Vector4

The resulting type after applying the * operator.

impl Debug for Vector4[src]

Auto Trait Implementations

impl Unpin for Vector4

impl Sync for Vector4

impl Send for Vector4

impl UnwindSafe for Vector4

impl RefUnwindSafe for Vector4

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]