[−][src]Struct skia_safe::matrix44::Vector4
Methods
impl Vector4
[src]
pub fn new(
x: scalar,
y: scalar,
z: scalar,
w: impl Into<Option<scalar>>
) -> Self
[src]
x: scalar,
y: scalar,
z: scalar,
w: impl Into<Option<scalar>>
) -> Self
pub fn equals(
&self,
x: scalar,
y: scalar,
z: scalar,
w: impl Into<Option<scalar>>
) -> bool
[src]
&self,
x: scalar,
y: scalar,
z: scalar,
w: impl Into<Option<scalar>>
) -> bool
pub fn set(
&mut self,
x: scalar,
y: scalar,
z: scalar,
w: impl Into<Option<scalar>>
)
[src]
&mut self,
x: scalar,
y: scalar,
z: scalar,
w: impl Into<Option<scalar>>
)
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.
fn mul(self, rhs: Vector4) -> Self::Output
[src]
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,