pub trait Shl<Rhs = Self> {
type Output;
// Required method
fn shl(self, rhs: Rhs) -> Self::Output;
}
Expand description
The left shift operator <<
. Note that because this trait is implemented
for all integer types with multiple right-hand-side types, Rust’s type
checker has special handling for _ << _
, setting the result type for
integer operations to the type of the left-hand-side operand. This means
that though a << b
and a.shl(b)
are one and the same from an evaluation
standpoint, they are different when it comes to type inference.
§Examples
An implementation of Shl
that lifts the <<
operation on integers to a
wrapper around usize
.
use std::ops::Shl;
#[derive(PartialEq, Debug)]
struct Scalar(usize);
impl Shl<Scalar> for Scalar {
type Output = Self;
fn shl(self, Self(rhs): Self) -> Self::Output {
let Self(lhs) = self;
Self(lhs << rhs)
}
}
assert_eq!(Scalar(4) << Scalar(2), Scalar(16));
An implementation of Shl
that spins a vector leftward by a given amount.
use std::ops::Shl;
#[derive(PartialEq, Debug)]
struct SpinVector<T: Clone> {
vec: Vec<T>,
}
impl<T: Clone> Shl<usize> for SpinVector<T> {
type Output = Self;
fn shl(self, rhs: usize) -> Self::Output {
// Rotate the vector by `rhs` places.
let (a, b) = self.vec.split_at(rhs);
let mut spun_vector = vec![];
spun_vector.extend_from_slice(b);
spun_vector.extend_from_slice(a);
Self { vec: spun_vector }
}
}
assert_eq!(SpinVector { vec: vec![0, 1, 2, 3, 4] } << 2,
SpinVector { vec: vec![2, 3, 4, 0, 1] });
Required Associated Types§
Required Methods§
Implementors§
1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<i8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<i8>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<i16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<i16>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<i32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<i32>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<i64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<i64>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<i128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<i128>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<isize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<isize>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<u8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<u8>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<u16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<u16>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<u32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<u32>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<u64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<u64>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<u128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<u128>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for &Wrapping<usize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for &Wrapping<usize>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<i8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<i8>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<i16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<i16>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<i32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<i32>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<i64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<i64>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<i128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<i128>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<isize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<isize>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<u8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<u8>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<u16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<u16>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<u32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<u32>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<u64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<u64>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<u128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<u128>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<&usize> for Wrapping<usize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<&usize> for Wrapping<usize>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<i8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<i8>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<i16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<i16>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<i32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<i32>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<i64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<i64>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<i128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<i128>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<isize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<isize>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<u8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<u8>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<u16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<u16>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<u32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<u32>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<u64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<u64>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<u128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<u128>
Available on non-crate feature
ferrocene_certified
only.1.39.0 (const: unstable) · Source§impl Shl<usize> for &Wrapping<usize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for &Wrapping<usize>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<i8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<i8>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<i16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<i16>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<i32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<i32>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<i64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<i64>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<i128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<i128>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<isize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<isize>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<u8>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<u8>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<u16>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<u16>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<u32>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<u32>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<u64>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<u64>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<u128>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<u128>
Available on non-crate feature
ferrocene_certified
only.1.0.0 (const: unstable) · Source§impl Shl<usize> for Wrapping<usize>
Available on non-crate feature ferrocene_certified
only.
impl Shl<usize> for Wrapping<usize>
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, 'rhs, T, const N: usize> Shl<&'rhs Simd<T, N>> for &'lhs Simd<T, N>where
T: SimdElement,
Simd<T, N>: Shl<Simd<T, N>, Output = Simd<T, N>>,
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, 'rhs, T, const N: usize> Shl<&'rhs Simd<T, N>> for &'lhs Simd<T, N>where
T: SimdElement,
Simd<T, N>: Shl<Simd<T, N>, Output = Simd<T, N>>,
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&i8> for &'lhs Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&i8> for &'lhs Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&i16> for &'lhs Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&i16> for &'lhs Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&i32> for &'lhs Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&i32> for &'lhs Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&i64> for &'lhs Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&i64> for &'lhs Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&isize> for &'lhs Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&isize> for &'lhs Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&u8> for &'lhs Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&u8> for &'lhs Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&u16> for &'lhs Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&u16> for &'lhs Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&u32> for &'lhs Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&u32> for &'lhs Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&u64> for &'lhs Simd<u64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&u64> for &'lhs Simd<u64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<&usize> for &'lhs Simd<usize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<&usize> for &'lhs Simd<usize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<i8> for &'lhs Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<i8> for &'lhs Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<i16> for &'lhs Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<i16> for &'lhs Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<i32> for &'lhs Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<i32> for &'lhs Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<i64> for &'lhs Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<i64> for &'lhs Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<isize> for &'lhs Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<isize> for &'lhs Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<u8> for &'lhs Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<u8> for &'lhs Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<u16> for &'lhs Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<u16> for &'lhs Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<u32> for &'lhs Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<u32> for &'lhs Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<u64> for &'lhs Simd<u64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<u64> for &'lhs Simd<u64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<'lhs, const N: usize> Shl<usize> for &'lhs Simd<usize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<'lhs, const N: usize> Shl<usize> for &'lhs Simd<usize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<T, const N: usize> Shl<&Simd<T, N>> for Simd<T, N>where
T: SimdElement,
Simd<T, N>: Shl<Simd<T, N>, Output = Simd<T, N>>,
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<T, const N: usize> Shl<&Simd<T, N>> for Simd<T, N>where
T: SimdElement,
Simd<T, N>: Shl<Simd<T, N>, Output = Simd<T, N>>,
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<T, const N: usize> Shl<Simd<T, N>> for &Simd<T, N>where
T: SimdElement,
Simd<T, N>: Shl<Simd<T, N>, Output = Simd<T, N>>,
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<T, const N: usize> Shl<Simd<T, N>> for &Simd<T, N>where
T: SimdElement,
Simd<T, N>: Shl<Simd<T, N>, Output = Simd<T, N>>,
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<i8, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<i8, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<i16, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<i16, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<i32, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<i32, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<i64, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<i64, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<isize, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<isize, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<u8, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<u8, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<u16, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<u16, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<u32, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<u32, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<u64, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<u64, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl for Simd<usize, N>
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl for Simd<usize, N>
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&i8> for Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&i8> for Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&i16> for Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&i16> for Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&i32> for Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&i32> for Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&i64> for Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&i64> for Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&isize> for Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&isize> for Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&u8> for Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&u8> for Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&u16> for Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&u16> for Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&u32> for Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&u32> for Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&u64> for Simd<u64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&u64> for Simd<u64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<&usize> for Simd<usize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<&usize> for Simd<usize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<i8> for Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<i8> for Simd<i8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<i16> for Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<i16> for Simd<i16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<i32> for Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<i32> for Simd<i32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<i64> for Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<i64> for Simd<i64, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<isize> for Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<isize> for Simd<isize, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<u8> for Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<u8> for Simd<u8, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<u16> for Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<u16> for Simd<u16, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.Source§impl<const N: usize> Shl<u32> for Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature ferrocene_certified
only.
impl<const N: usize> Shl<u32> for Simd<u32, N>where
LaneCount<N>: SupportedLaneCount,
Available on non-crate feature
ferrocene_certified
only.