pub type OptimalUnderlier512b = ScaledUnderlier<OptimalUnderlier256b, 2>;
Aliased Type§
struct OptimalUnderlier512b(pub [ScaledUnderlier<M128, 2>; 2]);
Fields§
§0: [ScaledUnderlier<M128, 2>; 2]
Trait Implementations
Source§impl<U: Clone, const N: usize> Clone for ScaledUnderlier<U, N>
impl<U: Clone, const N: usize> Clone for ScaledUnderlier<U, N>
Source§fn clone(&self) -> ScaledUnderlier<U, N>
fn clone(&self) -> ScaledUnderlier<U, N>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<U: ConstantTimeEq, const N: usize> ConstantTimeEq for ScaledUnderlier<U, N>
impl<U: ConstantTimeEq, const N: usize> ConstantTimeEq for ScaledUnderlier<U, N>
Source§impl<U> Divisible<U> for ScaledUnderlier<ScaledUnderlier<U, 2>, 2>where
Self: UnderlierType + NoUninit,
U: UnderlierType + Pod,
impl<U> Divisible<U> for ScaledUnderlier<ScaledUnderlier<U, 2>, 2>where
Self: UnderlierType + NoUninit,
U: UnderlierType + Pod,
Source§type Array = [U; 4]
type Array = [U; 4]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[U]
fn split_mut(&mut self) -> &mut [U]
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl<U, const N: usize> Divisible<U> for ScaledUnderlier<U, N>where
Self: UnderlierType,
U: UnderlierType,
impl<U, const N: usize> Divisible<U> for ScaledUnderlier<U, N>where
Self: UnderlierType,
U: UnderlierType,
Source§type Array = [U; N]
type Array = [U; N]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[U]
fn split_mut(&mut self) -> &mut [U]
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl Divisible<u128> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
impl Divisible<u128> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
Source§type Array = [u128; 4]
type Array = [u128; 4]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[u128]
fn split_mut(&mut self) -> &mut [u128]
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl Divisible<u16> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
impl Divisible<u16> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
Source§type Array = [u16; 32]
type Array = [u16; 32]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[u16]
fn split_mut(&mut self) -> &mut [u16]
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl Divisible<u32> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
impl Divisible<u32> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
Source§type Array = [u32; 16]
type Array = [u32; 16]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[u32]
fn split_mut(&mut self) -> &mut [u32]
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl Divisible<u64> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
impl Divisible<u64> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
Source§type Array = [u64; 8]
type Array = [u64; 8]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[u64]
fn split_mut(&mut self) -> &mut [u64]
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl Divisible<u8> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
impl Divisible<u8> for ScaledUnderlier<ScaledUnderlier<M128, 2>, 2>
Source§type Array = [u8; 64]
type Array = [u8; 64]
This is actually
[U; Self::WIDTH]
but we can’t use it as the default value in the trait definition
without generic_const_exprs
feature enabled.fn split_val(self) -> Self::Array
fn split_ref(&self) -> &[u8] ⓘ
fn split_mut(&mut self) -> &mut [u8] ⓘ
const WIDTH: usize = _
fn split_slice(values: &[Self]) -> &[U]
fn split_slice_mut(values: &mut [Self]) -> &mut [U]
Source§impl<U: Ord, const N: usize> Ord for ScaledUnderlier<U, N>
impl<U: Ord, const N: usize> Ord for ScaledUnderlier<U, N>
Source§fn cmp(&self, other: &ScaledUnderlier<U, N>) -> Ordering
fn cmp(&self, other: &ScaledUnderlier<U, N>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more