Struct pathfinder_simd::scalar::I32x2[][src]

pub struct I32x2(_);

Implementations

impl I32x2[src]

pub fn new(x: i32, y: i32) -> I32x2[src]

pub fn splat(x: i32) -> I32x2[src]

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

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

pub fn concat_xy_xy(self, other: I32x2) -> I32x4[src]

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

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

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

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

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

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

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

Converts these packed integers to floats.

Trait Implementations

impl Add<I32x2> for I32x2[src]

type Output = I32x2

The resulting type after applying the + operator.

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

Performs the + operation. Read more

impl Clone for I32x2[src]

fn clone(&self) -> I32x2[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 I32x2[src]

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

Formats the value using the given formatter. Read more

impl Default for I32x2[src]

fn default() -> I32x2[src]

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

impl Index<usize> for I32x2[src]

type Output = i32

The returned type after indexing.

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

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

impl IndexMut<usize> for I32x2[src]

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

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

impl Mul<I32x2> for I32x2[src]

type Output = I32x2

The resulting type after applying the * operator.

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

Performs the * operation. Read more

impl PartialEq<I32x2> for I32x2[src]

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

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

fn ne(&self, other: &I32x2) -> bool[src]

This method tests for !=.

impl Sub<I32x2> for I32x2[src]

type Output = I32x2

The resulting type after applying the - operator.

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

Performs the - operation. Read more

impl Copy for I32x2[src]

impl StructuralPartialEq for I32x2[src]

Auto Trait Implementations

impl RefUnwindSafe for I32x2

impl Send for I32x2

impl Sync for I32x2

impl Unpin for I32x2

impl UnwindSafe for I32x2

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.