Struct pathfinder_simd::x86::F32x2[][src]

pub struct F32x2(pub u64);

Implementations

impl F32x2[src]

pub fn from_slice(slice: &[f32]) -> F32x2[src]

pub fn x(self) -> f32[src]

pub fn y(self) -> f32[src]

pub fn set_x(&mut self, x: f32)[src]

pub fn set_y(&mut self, y: f32)[src]

pub fn approx_eq(self, other: F32x2, epsilon: f32) -> bool[src]

impl F32x2[src]

pub fn new(a: f32, b: f32) -> F32x2[src]

pub fn splat(x: f32) -> F32x2[src]

pub fn approx_recip(self) -> F32x2[src]

pub fn min(self, other: F32x2) -> F32x2[src]

pub fn max(self, other: F32x2) -> F32x2[src]

pub fn clamp(self, min: F32x2, max: F32x2) -> F32x2[src]

pub fn abs(self) -> F32x2[src]

pub fn floor(self) -> F32x2[src]

pub fn ceil(self) -> F32x2[src]

pub fn sqrt(self) -> F32x2[src]

pub fn packed_eq(self, other: F32x2) -> U32x2[src]

pub fn packed_gt(self, other: F32x2) -> U32x2[src]

pub fn packed_lt(self, other: F32x2) -> U32x2[src]

pub fn packed_le(self, other: F32x2) -> U32x2[src]

pub fn to_f32x4(self) -> F32x4[src]

pub fn to_i32x2(self) -> I32x2[src]

pub fn to_i32x4(self) -> I32x4[src]

pub fn yx(self) -> F32x2[src]

pub fn concat_xy_xy(self, other: F32x2) -> F32x4[src]

Trait Implementations

impl Add<F32x2> for F32x2[src]

type Output = F32x2

The resulting type after applying the + operator.

fn add(self, other: F32x2) -> F32x2[src]

Performs the + operation. Read more

impl AddAssign<F32x2> for F32x2[src]

fn add_assign(&mut self, other: F32x2)[src]

Performs the += operation. Read more

impl Clone for F32x2[src]

fn clone(&self) -> F32x2[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for F32x2[src]

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

Formats the value using the given formatter. Read more

impl Default for F32x2[src]

fn default() -> F32x2[src]

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

impl Div<F32x2> for F32x2[src]

type Output = F32x2

The resulting type after applying the / operator.

fn div(self, other: F32x2) -> F32x2[src]

Performs the / operation. Read more

impl Index<usize> for F32x2[src]

type Output = f32

The returned type after indexing.

fn index(&self, index: usize) -> &f32[src]

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

impl IndexMut<usize> for F32x2[src]

fn index_mut(&mut self, index: usize) -> &mut f32[src]

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

impl Mul<F32x2> for F32x2[src]

type Output = F32x2

The resulting type after applying the * operator.

fn mul(self, other: F32x2) -> F32x2[src]

Performs the * operation. Read more

impl MulAssign<F32x2> for F32x2[src]

fn mul_assign(&mut self, other: F32x2)[src]

Performs the *= operation. Read more

impl Neg for F32x2[src]

type Output = F32x2

The resulting type after applying the - operator.

fn neg(self) -> F32x2[src]

Performs the unary - operation. Read more

impl PartialEq<F32x2> for F32x2[src]

fn eq(&self, other: &F32x2) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Sub<F32x2> for F32x2[src]

type Output = F32x2

The resulting type after applying the - operator.

fn sub(self, other: F32x2) -> F32x2[src]

Performs the - operation. Read more

impl SubAssign<F32x2> for F32x2[src]

fn sub_assign(&mut self, other: F32x2)[src]

Performs the -= operation. Read more

impl Copy for F32x2[src]

Auto Trait Implementations

impl RefUnwindSafe for F32x2

impl Send for F32x2

impl Sync for F32x2

impl Unpin for F32x2

impl UnwindSafe for F32x2

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

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

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

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.

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

Performs the conversion.

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.

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

Performs the conversion.