[][src]Trait rapier3d::utils::WSign

pub trait WSign<Rhs>: Sized {
    fn copy_sign_to(self, to: Rhs) -> Rhs;
}

Trait to copy the sign of each component of one scalar/vector/matrix to another.

Required methods

fn copy_sign_to(self, to: Rhs) -> Rhs

Copy the sign of each component of self to the corresponding component of to.

Loading content...

Implementations on Foreign Types

impl WSign<f32> for f32[src]

impl<N: Scalar + Copy + WSign<N>> WSign<Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>> for Vector2<N>[src]

impl<N: Scalar + Copy + WSign<N>> WSign<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>> for Vector3<N>[src]

Loading content...

Implementors

impl WSign<AutoSimd<[f32; 4]>> for SimdFloat[src]

impl<N: Scalar + Copy + WSign<N>> WSign<Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>> for N[src]

impl<N: Scalar + Copy + WSign<N>> WSign<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>> for N[src]

Loading content...