Struct pathfinder_simd::x86::F32x2 [−][src]
pub struct F32x2(pub u64);
Implementations
impl F32x2
[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 AddAssign<F32x2> for F32x2
[src]
impl AddAssign<F32x2> for F32x2
[src]fn add_assign(&mut self, other: F32x2)
[src]
fn add_assign(&mut self, other: F32x2)
[src]Performs the +=
operation. Read more
impl MulAssign<F32x2> for F32x2
[src]
impl MulAssign<F32x2> for F32x2
[src]fn mul_assign(&mut self, other: F32x2)
[src]
fn mul_assign(&mut self, other: F32x2)
[src]Performs the *=
operation. Read more
impl SubAssign<F32x2> for F32x2
[src]
impl SubAssign<F32x2> for F32x2
[src]fn sub_assign(&mut self, other: 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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
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]
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