You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/simd/simd_bool.rs
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ use std::ops::{BitAnd, BitOr, BitXor, Not};
7
7
/// It is designed to abstract the behavior of booleans so it can work with multi-lane boolean
8
8
/// values in an AoSoA setting.
9
9
pubtraitSimdBool:
10
-
Copy
11
-
+ BitAnd<Self,Output=Self>
12
-
+ BitOr<Self,Output=Self>
13
-
+ BitXor<Self,Output=Self>
14
-
+ Not<Output=Self>
10
+
Copy
11
+
+ BitAnd<Self,Output = Self>
12
+
+ BitOr<Self,Output = Self>
13
+
+ BitXor<Self,Output = Self>
14
+
+ Not<Output = Self>
15
15
{
16
16
/// A bit mask representing the boolean state of each lanes of `self`.
17
17
///
@@ -36,7 +36,7 @@ Copy
36
36
///
37
37
/// The implementor of this trait is free to choose on what cases `if_value` and `else_value` are actually
38
38
/// called.
39
-
fnif_else<Res:SimdValue<SimdBool=Self>>(
39
+
fnif_else<Res:SimdValue<SimdBool = Self>>(
40
40
self,
41
41
if_value:implFnOnce() -> Res,
42
42
else_value:implFnOnce() -> Res,
@@ -49,7 +49,7 @@ Copy
49
49
/// - For each lane of `self` containing `0` but with a corresponding lane of `else_if.0()` containing `0`, the result will contain the corresponding lane of `else_value()`.
50
50
///
51
51
/// The implementor of this trait is free to choose on what cases any of those closures are implemented.
0 commit comments