Struct pathfinder_simd::scalar::F32x2
source · pub struct F32x2(pub [f32; 2]);
Tuple Fields§
§0: [f32; 2]
Implementations§
source§impl F32x2
impl F32x2
pub fn new(a: f32, b: f32) -> F32x2
pub fn splat(x: f32) -> F32x2
pub fn approx_recip(self) -> F32x2
pub fn min(self, other: F32x2) -> F32x2
pub fn max(self, other: F32x2) -> F32x2
pub fn clamp(self, min: F32x2, max: F32x2) -> F32x2
pub fn abs(self) -> F32x2
pub fn floor(self) -> F32x2
pub fn ceil(self) -> F32x2
pub fn sqrt(self) -> F32x2
pub fn packed_eq(self, other: F32x2) -> U32x2
pub fn packed_gt(self, other: F32x2) -> U32x2
pub fn packed_lt(self, other: F32x2) -> U32x2
pub fn packed_le(self, other: F32x2) -> U32x2
pub fn to_f32x4(self) -> F32x4
pub fn yx(self) -> F32x2
pub fn concat_xy_xy(self, other: F32x2) -> F32x4
Trait Implementations§
source§impl PartialEq for F32x2
impl PartialEq for F32x2
impl Copy for F32x2
impl StructuralPartialEq for F32x2
Auto Trait Implementations§
impl Freeze for F32x2
impl RefUnwindSafe for F32x2
impl Send for F32x2
impl Sync for F32x2
impl Unpin for F32x2
impl UnwindSafe for F32x2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more