Run cargo fmt.

This commit is contained in:
Crozet Sébastien 2021-02-25 14:16:57 +01:00
parent dc15261ec1
commit 0b1e6f0b05
1 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,12 @@ impl<N: Scalar + Zero> Default for Quaternion<N> {
unsafe impl<N: Scalar> bytemuck::Zeroable for Quaternion<N> where Vector4<N>: bytemuck::Zeroable {} unsafe impl<N: Scalar> bytemuck::Zeroable for Quaternion<N> where Vector4<N>: bytemuck::Zeroable {}
#[cfg(feature = "bytemuck")] #[cfg(feature = "bytemuck")]
unsafe impl<N: Scalar> bytemuck::Pod for Quaternion<N> where Vector4<N>: bytemuck::Pod, N: Copy {} unsafe impl<N: Scalar> bytemuck::Pod for Quaternion<N>
where
Vector4<N>: bytemuck::Pod,
N: Copy,
{
}
#[cfg(feature = "abomonation-serialize")] #[cfg(feature = "abomonation-serialize")]
impl<N: Scalar> Abomonation for Quaternion<N> impl<N: Scalar> Abomonation for Quaternion<N>