Struct Vec4f

Source
pub struct Vec4f { /* private fields */ }

Implementations§

Source§

impl Vec4f

Source

pub fn new(x: f32, y: f32, z: f32, w: f32) -> Self

Source

pub fn one() -> Self

Source

pub fn zero() -> Self

Source§

impl Vec4f

Source

pub fn floor(self) -> Self

Source

pub fn ceil(self) -> Self

Source

pub fn round(self) -> Self

Source

pub fn trunc(self) -> Self

Source

pub fn fract(self) -> Self

Source

pub fn abs(self) -> Self

Source

pub fn signum(self) -> Self

Source

pub fn powf(self, n: f32) -> Self

Source

pub fn sqrt(self) -> Self

Source

pub fn exp(self) -> Self

Source

pub fn exp2(self) -> Self

Source

pub fn ln(self) -> Self

Source

pub fn log(self, base: f32) -> Self

Source

pub fn log2(self) -> Self

Source

pub fn log10(self) -> Self

Source

pub fn cbrt(self) -> Self

Source

pub fn sin(self) -> Self

Source

pub fn cos(self) -> Self

Source

pub fn tan(self) -> Self

Source

pub fn sin_cos(self) -> (Self, Self)

Source

pub fn lerp(self, rhs: Self, s: f32) -> Self

Source

pub fn lerp_vec(self, rhs: Self, s: Self) -> Self

Source

pub fn is_nan(self) -> bool

Source

pub fn is_infinite(self) -> bool

Source

pub fn is_finite(self) -> bool

Source

pub fn recip(self) -> Self

Source

pub fn max(self, rhs: Self) -> Self

Source

pub fn min(self, rhs: Self) -> Self

Source

pub fn clamp(self, min: Self, max: Self) -> Self

Source

pub fn saturate(self) -> Self

Source

pub fn min_element(self) -> f32

Source

pub fn max_element(self) -> f32

Source§

impl Vec4f

Source

pub fn dot(self, rhs: Self) -> f32

Source

pub fn length(self) -> f32

Source

pub fn length_squared(self) -> f32

Source

pub fn length_recip(self) -> f32

Source

pub fn distance(self, rhs: Self) -> f32

Source

pub fn distance_squared(self, rhs: Self) -> f32

Source

pub fn normalize(self) -> Self

Source

pub fn try_normalize(self) -> Option<Self>

Source

pub fn normalize_or_zero(self) -> Self

Source

pub fn is_normalized(self) -> bool

Source§

impl Vec4f

Source

pub fn to_array(self) -> [f32; 4]

Source

pub fn to_tuple(self) -> (f32, f32, f32, f32)

Source

pub fn to_vec4d(self) -> Vec4d

Source§

impl Vec4f

Source

pub fn x(self) -> f32

Source

pub fn y(self) -> f32

Source

pub fn z(self) -> f32

Source

pub fn w(self) -> f32

Source

pub fn xx(self) -> Vec2f

Source

pub fn xy(self) -> Vec2f

Source

pub fn xz(self) -> Vec2f

Source

pub fn xw(self) -> Vec2f

Source

pub fn yx(self) -> Vec2f

Source

pub fn yy(self) -> Vec2f

Source

pub fn yz(self) -> Vec2f

Source

pub fn yw(self) -> Vec2f

Source

pub fn zx(self) -> Vec2f

Source

pub fn zy(self) -> Vec2f

Source

pub fn zz(self) -> Vec2f

Source

pub fn zw(self) -> Vec2f

Source

pub fn wx(self) -> Vec2f

Source

pub fn wy(self) -> Vec2f

Source

pub fn wz(self) -> Vec2f

Source

pub fn ww(self) -> Vec2f

Source

pub fn xxx(self) -> Vec3f

Source

pub fn xxy(self) -> Vec3f

Source

pub fn xxz(self) -> Vec3f

Source

pub fn xxw(self) -> Vec3f

Source

pub fn xyx(self) -> Vec3f

Source

pub fn xyy(self) -> Vec3f

Source

pub fn xyz(self) -> Vec3f

Source

pub fn xyw(self) -> Vec3f

Source

pub fn xzx(self) -> Vec3f

Source

pub fn xzy(self) -> Vec3f

Source

pub fn xzz(self) -> Vec3f

Source

pub fn xzw(self) -> Vec3f

Source

pub fn xwx(self) -> Vec3f

Source

pub fn xwy(self) -> Vec3f

Source

pub fn xwz(self) -> Vec3f

Source

pub fn xww(self) -> Vec3f

Source

pub fn yxx(self) -> Vec3f

Source

pub fn yxy(self) -> Vec3f

Source

pub fn yxz(self) -> Vec3f

Source

pub fn yxw(self) -> Vec3f

Source

pub fn yyx(self) -> Vec3f

Source

pub fn yyy(self) -> Vec3f

Source

pub fn yyz(self) -> Vec3f

Source

pub fn yyw(self) -> Vec3f

Source

pub fn yzx(self) -> Vec3f

Source

pub fn yzy(self) -> Vec3f

Source

pub fn yzz(self) -> Vec3f

Source

pub fn yzw(self) -> Vec3f

Source

pub fn ywx(self) -> Vec3f

Source

pub fn ywy(self) -> Vec3f

Source

pub fn ywz(self) -> Vec3f

Source

pub fn yww(self) -> Vec3f

Source

pub fn zxx(self) -> Vec3f

Source

pub fn zxy(self) -> Vec3f

Source

pub fn zxz(self) -> Vec3f

Source

pub fn zxw(self) -> Vec3f

Source

pub fn zyx(self) -> Vec3f

Source

pub fn zyy(self) -> Vec3f

Source

pub fn zyz(self) -> Vec3f

Source

pub fn zyw(self) -> Vec3f

Source

pub fn zzx(self) -> Vec3f

Source

pub fn zzy(self) -> Vec3f

Source

pub fn zzz(self) -> Vec3f

Source

pub fn zzw(self) -> Vec3f

Source

pub fn zwx(self) -> Vec3f

Source

pub fn zwy(self) -> Vec3f

Source

pub fn zwz(self) -> Vec3f

Source

pub fn zww(self) -> Vec3f

Source

pub fn wxx(self) -> Vec3f

Source

pub fn wxy(self) -> Vec3f

Source

pub fn wxz(self) -> Vec3f

Source

pub fn wxw(self) -> Vec3f

Source

pub fn wyx(self) -> Vec3f

Source

pub fn wyy(self) -> Vec3f

Source

pub fn wyz(self) -> Vec3f

Source

pub fn wyw(self) -> Vec3f

Source

pub fn wzx(self) -> Vec3f

Source

pub fn wzy(self) -> Vec3f

Source

pub fn wzz(self) -> Vec3f

Source

pub fn wzw(self) -> Vec3f

Source

pub fn wwx(self) -> Vec3f

Source

pub fn wwy(self) -> Vec3f

Source

pub fn wwz(self) -> Vec3f

Source

pub fn www(self) -> Vec3f

Source

pub fn xxxx(self) -> Self

Source

pub fn xxxy(self) -> Self

Source

pub fn xxxz(self) -> Self

Source

pub fn xxxw(self) -> Self

Source

pub fn xxyx(self) -> Self

Source

pub fn xxyy(self) -> Self

Source

pub fn xxyz(self) -> Self

Source

pub fn xxyw(self) -> Self

Source

pub fn xxzx(self) -> Self

Source

pub fn xxzy(self) -> Self

Source

pub fn xxzz(self) -> Self

Source

pub fn xxzw(self) -> Self

Source

pub fn xxwx(self) -> Self

Source

pub fn xxwy(self) -> Self

Source

pub fn xxwz(self) -> Self

Source

pub fn xxww(self) -> Self

Source

pub fn xyxx(self) -> Self

Source

pub fn xyxy(self) -> Self

Source

pub fn xyxz(self) -> Self

Source

pub fn xyxw(self) -> Self

Source

pub fn xyyx(self) -> Self

Source

pub fn xyyy(self) -> Self

Source

pub fn xyyz(self) -> Self

Source

pub fn xyyw(self) -> Self

Source

pub fn xyzx(self) -> Self

Source

pub fn xyzy(self) -> Self

Source

pub fn xyzz(self) -> Self

Source

pub fn xyzw(self) -> Self

Source

pub fn xywx(self) -> Self

Source

pub fn xywy(self) -> Self

Source

pub fn xywz(self) -> Self

Source

pub fn xyww(self) -> Self

Source

pub fn xzxx(self) -> Self

Source

pub fn xzxy(self) -> Self

Source

pub fn xzxz(self) -> Self

Source

pub fn xzxw(self) -> Self

Source

pub fn xzyx(self) -> Self

Source

pub fn xzyy(self) -> Self

Source

pub fn xzyz(self) -> Self

Source

pub fn xzyw(self) -> Self

Source

pub fn xzzx(self) -> Self

Source

pub fn xzzy(self) -> Self

Source

pub fn xzzz(self) -> Self

Source

pub fn xzzw(self) -> Self

Source

pub fn xzwx(self) -> Self

Source

pub fn xzwy(self) -> Self

Source

pub fn xzwz(self) -> Self

Source

pub fn xzww(self) -> Self

Source

pub fn xwxx(self) -> Self

Source

pub fn xwxy(self) -> Self

Source

pub fn xwxz(self) -> Self

Source

pub fn xwxw(self) -> Self

Source

pub fn xwyx(self) -> Self

Source

pub fn xwyy(self) -> Self

Source

pub fn xwyz(self) -> Self

Source

pub fn xwyw(self) -> Self

Source

pub fn xwzx(self) -> Self

Source

pub fn xwzy(self) -> Self

Source

pub fn xwzz(self) -> Self

Source

pub fn xwzw(self) -> Self

Source

pub fn xwwx(self) -> Self

Source

pub fn xwwy(self) -> Self

Source

pub fn xwwz(self) -> Self

Source

pub fn xwww(self) -> Self

Source

pub fn yxxx(self) -> Self

Source

pub fn yxxy(self) -> Self

Source

pub fn yxxz(self) -> Self

Source

pub fn yxxw(self) -> Self

Source

pub fn yxyx(self) -> Self

Source

pub fn yxyy(self) -> Self

Source

pub fn yxyz(self) -> Self

Source

pub fn yxyw(self) -> Self

Source

pub fn yxzx(self) -> Self

Source

pub fn yxzy(self) -> Self

Source

pub fn yxzz(self) -> Self

Source

pub fn yxzw(self) -> Self

Source

pub fn yxwx(self) -> Self

Source

pub fn yxwy(self) -> Self

Source

pub fn yxwz(self) -> Self

Source

pub fn yxww(self) -> Self

Source

pub fn yyxx(self) -> Self

Source

pub fn yyxy(self) -> Self

Source

pub fn yyxz(self) -> Self

Source

pub fn yyxw(self) -> Self

Source

pub fn yyyx(self) -> Self

Source

pub fn yyyy(self) -> Self

Source

pub fn yyyz(self) -> Self

Source

pub fn yyyw(self) -> Self

Source

pub fn yyzx(self) -> Self

Source

pub fn yyzy(self) -> Self

Source

pub fn yyzz(self) -> Self

Source

pub fn yyzw(self) -> Self

Source

pub fn yywx(self) -> Self

Source

pub fn yywy(self) -> Self

Source

pub fn yywz(self) -> Self

Source

pub fn yyww(self) -> Self

Source

pub fn yzxx(self) -> Self

Source

pub fn yzxy(self) -> Self

Source

pub fn yzxz(self) -> Self

Source

pub fn yzxw(self) -> Self

Source

pub fn yzyx(self) -> Self

Source

pub fn yzyy(self) -> Self

Source

pub fn yzyz(self) -> Self

Source

pub fn yzyw(self) -> Self

Source

pub fn yzzx(self) -> Self

Source

pub fn yzzy(self) -> Self

Source

pub fn yzzz(self) -> Self

Source

pub fn yzzw(self) -> Self

Source

pub fn yzwx(self) -> Self

Source

pub fn yzwy(self) -> Self

Source

pub fn yzwz(self) -> Self

Source

pub fn yzww(self) -> Self

Source

pub fn ywxx(self) -> Self

Source

pub fn ywxy(self) -> Self

Source

pub fn ywxz(self) -> Self

Source

pub fn ywxw(self) -> Self

Source

pub fn ywyx(self) -> Self

Source

pub fn ywyy(self) -> Self

Source

pub fn ywyz(self) -> Self

Source

pub fn ywyw(self) -> Self

Source

pub fn ywzx(self) -> Self

Source

pub fn ywzy(self) -> Self

Source

pub fn ywzz(self) -> Self

Source

pub fn ywzw(self) -> Self

Source

pub fn ywwx(self) -> Self

Source

pub fn ywwy(self) -> Self

Source

pub fn ywwz(self) -> Self

Source

pub fn ywww(self) -> Self

Source

pub fn zxxx(self) -> Self

Source

pub fn zxxy(self) -> Self

Source

pub fn zxxz(self) -> Self

Source

pub fn zxxw(self) -> Self

Source

pub fn zxyx(self) -> Self

Source

pub fn zxyy(self) -> Self

Source

pub fn zxyz(self) -> Self

Source

pub fn zxyw(self) -> Self

Source

pub fn zxzx(self) -> Self

Source

pub fn zxzy(self) -> Self

Source

pub fn zxzz(self) -> Self

Source

pub fn zxzw(self) -> Self

Source

pub fn zxwx(self) -> Self

Source

pub fn zxwy(self) -> Self

Source

pub fn zxwz(self) -> Self

Source

pub fn zxww(self) -> Self

Source

pub fn zyxx(self) -> Self

Source

pub fn zyxy(self) -> Self

Source

pub fn zyxz(self) -> Self

Source

pub fn zyxw(self) -> Self

Source

pub fn zyyx(self) -> Self

Source

pub fn zyyy(self) -> Self

Source

pub fn zyyz(self) -> Self

Source

pub fn zyyw(self) -> Self

Source

pub fn zyzx(self) -> Self

Source

pub fn zyzy(self) -> Self

Source

pub fn zyzz(self) -> Self

Source

pub fn zyzw(self) -> Self

Source

pub fn zywx(self) -> Self

Source

pub fn zywy(self) -> Self

Source

pub fn zywz(self) -> Self

Source

pub fn zyww(self) -> Self

Source

pub fn zzxx(self) -> Self

Source

pub fn zzxy(self) -> Self

Source

pub fn zzxz(self) -> Self

Source

pub fn zzxw(self) -> Self

Source

pub fn zzyx(self) -> Self

Source

pub fn zzyy(self) -> Self

Source

pub fn zzyz(self) -> Self

Source

pub fn zzyw(self) -> Self

Source

pub fn zzzx(self) -> Self

Source

pub fn zzzy(self) -> Self

Source

pub fn zzzz(self) -> Self

Source

pub fn zzzw(self) -> Self

Source

pub fn zzwx(self) -> Self

Source

pub fn zzwy(self) -> Self

Source

pub fn zzwz(self) -> Self

Source

pub fn zzww(self) -> Self

Source

pub fn zwxx(self) -> Self

Source

pub fn zwxy(self) -> Self

Source

pub fn zwxz(self) -> Self

Source

pub fn zwxw(self) -> Self

Source

pub fn zwyx(self) -> Self

Source

pub fn zwyy(self) -> Self

Source

pub fn zwyz(self) -> Self

Source

pub fn zwyw(self) -> Self

Source

pub fn zwzx(self) -> Self

Source

pub fn zwzy(self) -> Self

Source

pub fn zwzz(self) -> Self

Source

pub fn zwzw(self) -> Self

Source

pub fn zwwx(self) -> Self

Source

pub fn zwwy(self) -> Self

Source

pub fn zwwz(self) -> Self

Source

pub fn zwww(self) -> Self

Source

pub fn wxxx(self) -> Self

Source

pub fn wxxy(self) -> Self

Source

pub fn wxxz(self) -> Self

Source

pub fn wxxw(self) -> Self

Source

pub fn wxyx(self) -> Self

Source

pub fn wxyy(self) -> Self

Source

pub fn wxyz(self) -> Self

Source

pub fn wxyw(self) -> Self

Source

pub fn wxzx(self) -> Self

Source

pub fn wxzy(self) -> Self

Source

pub fn wxzz(self) -> Self

Source

pub fn wxzw(self) -> Self

Source

pub fn wxwx(self) -> Self

Source

pub fn wxwy(self) -> Self

Source

pub fn wxwz(self) -> Self

Source

pub fn wxww(self) -> Self

Source

pub fn wyxx(self) -> Self

Source

pub fn wyxy(self) -> Self

Source

pub fn wyxz(self) -> Self

Source

pub fn wyxw(self) -> Self

Source

pub fn wyyx(self) -> Self

Source

pub fn wyyy(self) -> Self

Source

pub fn wyyz(self) -> Self

Source

pub fn wyyw(self) -> Self

Source

pub fn wyzx(self) -> Self

Source

pub fn wyzy(self) -> Self

Source

pub fn wyzz(self) -> Self

Source

pub fn wyzw(self) -> Self

Source

pub fn wywx(self) -> Self

Source

pub fn wywy(self) -> Self

Source

pub fn wywz(self) -> Self

Source

pub fn wyww(self) -> Self

Source

pub fn wzxx(self) -> Self

Source

pub fn wzxy(self) -> Self

Source

pub fn wzxz(self) -> Self

Source

pub fn wzxw(self) -> Self

Source

pub fn wzyx(self) -> Self

Source

pub fn wzyy(self) -> Self

Source

pub fn wzyz(self) -> Self

Source

pub fn wzyw(self) -> Self

Source

pub fn wzzx(self) -> Self

Source

pub fn wzzy(self) -> Self

Source

pub fn wzzz(self) -> Self

Source

pub fn wzzw(self) -> Self

Source

pub fn wzwx(self) -> Self

Source

pub fn wzwy(self) -> Self

Source

pub fn wzwz(self) -> Self

Source

pub fn wzww(self) -> Self

Source

pub fn wwxx(self) -> Self

Source

pub fn wwxy(self) -> Self

Source

pub fn wwxz(self) -> Self

Source

pub fn wwxw(self) -> Self

Source

pub fn wwyx(self) -> Self

Source

pub fn wwyy(self) -> Self

Source

pub fn wwyz(self) -> Self

Source

pub fn wwyw(self) -> Self

Source

pub fn wwzx(self) -> Self

Source

pub fn wwzy(self) -> Self

Source

pub fn wwzz(self) -> Self

Source

pub fn wwzw(self) -> Self

Source

pub fn wwwx(self) -> Self

Source

pub fn wwwy(self) -> Self

Source

pub fn wwwz(self) -> Self

Source

pub fn wwww(self) -> Self

Trait Implementations§

Source§

impl Add<Vec4f> for f32

Source§

type Output = Vec4f

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Vec4f) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<f32> for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Vec4f) -> Self::Output

Performs the + operation. Read more
Source§

impl AddAssign<f32> for Vec4f

Source§

fn add_assign(&mut self, rhs: f32)

Performs the += operation. Read more
Source§

impl AddAssign for Vec4f

Source§

fn add_assign(&mut self, rhs: Vec4f)

Performs the += operation. Read more
Source§

impl Clone for Vec4f

Source§

fn clone(&self) -> Vec4f

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Vec4f

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Vec4f

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for Vec4f

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<Vec4f> for f32

Source§

type Output = Vec4f

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Vec4f) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<f32> for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl Div for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Vec4f) -> Self::Output

Performs the / operation. Read more
Source§

impl DivAssign<f32> for Vec4f

Source§

fn div_assign(&mut self, rhs: f32)

Performs the /= operation. Read more
Source§

impl DivAssign for Vec4f

Source§

fn div_assign(&mut self, rhs: Vec4f)

Performs the /= operation. Read more
Source§

impl From<(Vec2f, f32, f32)> for Vec4f

Source§

fn from(v: (Vec2f, f32, f32)) -> Self

Converts to this type from the input type.
Source§

impl From<(Vec3f, f32)> for Vec4f

Source§

fn from(v: (Vec3f, f32)) -> Self

Converts to this type from the input type.
Source§

impl From<(f32, f32, f32, f32)> for Vec4f

Source§

fn from(v: (f32, f32, f32, f32)) -> Self

Converts to this type from the input type.
Source§

impl From<Vec4f> for Vec2f

Source§

fn from(v: Vec4f) -> Self

Converts to this type from the input type.
Source§

impl From<Vec4f> for Vec3f

Source§

fn from(v: Vec4f) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for Vec4f

Source§

fn from(v: f32) -> Self

Converts to this type from the input type.
Source§

impl Index<usize> for Vec4f

Source§

type Output = f32

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl IndexMut<usize> for Vec4f

Source§

fn index_mut(&mut self, index: usize) -> &mut Self::Output

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl Mul<Vec4f> for Mat4f

Source§

type Output = Vec4f

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Vec4f) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Vec4f> for f32

Source§

type Output = Vec4f

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Vec4f) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<f32> for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Vec4f) -> Self::Output

Performs the * operation. Read more
Source§

impl MulAssign<f32> for Vec4f

Source§

fn mul_assign(&mut self, rhs: f32)

Performs the *= operation. Read more
Source§

impl MulAssign for Vec4f

Source§

fn mul_assign(&mut self, rhs: Vec4f)

Performs the *= operation. Read more
Source§

impl Neg for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl PartialEq for Vec4f

Source§

fn eq(&self, other: &Vec4f) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Sub<Vec4f> for f32

Source§

type Output = Vec4f

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Vec4f) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<f32> for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for Vec4f

Source§

type Output = Vec4f

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Vec4f) -> Self::Output

Performs the - operation. Read more
Source§

impl SubAssign<f32> for Vec4f

Source§

fn sub_assign(&mut self, rhs: f32)

Performs the -= operation. Read more
Source§

impl SubAssign for Vec4f

Source§

fn sub_assign(&mut self, rhs: Vec4f)

Performs the -= operation. Read more
Source§

impl Copy for Vec4f

Source§

impl StructuralPartialEq for Vec4f

Auto Trait Implementations§

§

impl Freeze for Vec4f

§

impl RefUnwindSafe for Vec4f

§

impl Send for Vec4f

§

impl Sync for Vec4f

§

impl Unpin for Vec4f

§

impl UnwindSafe for Vec4f

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.