pub trait Int:
Numeric
+ CountOnes
+ ReverseBits
+ BitwiseNot
+ LeadingZeros
+ FindFirstSet
+ Rem<Output = Self>
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ BitOr<Output = Self>
+ BitAnd<Output = Self>
+ BitXor<Output = Self>
+ Shl<Output = Self>
+ Shr<Output = Self>
+ Not<Output = Self>
+ RemAssign
+ AddAssign
+ SubAssign
+ MulAssign
+ DivAssign
+ BitOrAssign
+ BitAndAssign
+ BitXorAssign
+ ShlAssign<u32>
+ ShrAssign<u32>
+ PartialOrd
+ PartialEq {
const BITS: u32;
// Required method
fn new(val: i64) -> Self;
// Provided method
fn __expand_new(
scope: &mut Scope,
val: i64,
) -> <Self as CubeType>::ExpandType { ... }
}
Expand description
Signed or unsigned integer. Used as input in int kernels
Required Associated Constants§
Required Methods§
Provided Methods§
fn __expand_new(scope: &mut Scope, val: i64) -> <Self as CubeType>::ExpandType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.