pub trait Int:
Numeric
+ CubeNot
+ CountOnes
+ ScalarReverseBits
+ LeadingZeros
+ TrailingZeros
+ FindFirstSet
+ ScalarSaturatingAdd
+ ScalarSaturatingSub
+ ScalarBitOr
+ ScalarBitAnd
+ ScalarBitXor
+ ScalarShl
+ ScalarShr
+ CubeBitOrAssign
+ CubeBitAndAssign
+ CubeBitXorAssign
+ CubeShlAssign
+ CubeShrAssign
+ ScalarOrd
+ ShlAssign<u32>
+ ShrAssign<u32>
+ Hash
+ PartialOrd
+ Ord
+ PartialEq
+ Eq {
const BITS: u32;
// Required method
fn new(val: i64) -> Self;
// Provided methods
fn __expand_new(scope: &Scope, val: i64) -> <Self as CubeType>::ExpandType { ... }
fn is_signed(scope: &Scope) -> bool { ... }
}Expand description
Signed or unsigned integer. Used as input in int kernels
Required Associated Constants§
Required Methods§
Provided Methods§
fn __expand_new(scope: &Scope, val: i64) -> <Self as CubeType>::ExpandType
fn is_signed(scope: &Scope) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".