Trait lav::Bits[][src]

pub trait Bits where
    Self: Clone + Copy + Default,
    Self: PartialEq + Eq + PartialOrd + Ord,
    Self: Product<Self> + Sum<Self>,
    for<'a> Self: Product<&'a Self> + Sum<&'a Self>,
    Self: Hash,
    Self: Debug + Octal + Display,
    Self: Add<Output = Self> + AddAssign,
    Self: Sub<Output = Self> + SubAssign,
    Self: Mul<Output = Self> + MulAssign,
    Self: Div<Output = Self> + DivAssign,
    Self: Rem<Output = Self> + RemAssign,
    Self: Shl<Output = Self> + ShlAssign,
    Self: Shr<Output = Self> + ShrAssign,
    Self: BitAnd<Output = Self> + BitAndAssign,
    Self: BitOr<Output = Self> + BitOrAssign,
    Self: BitXor<Output = Self> + BitXorAssign,
    for<'a> Self: Add<&'a Self, Output = Self> + AddAssign<&'a Self>,
    for<'a> Self: Sub<&'a Self, Output = Self> + SubAssign<&'a Self>,
    for<'a> Self: Mul<&'a Self, Output = Self> + MulAssign<&'a Self>,
    for<'a> Self: Div<&'a Self, Output = Self> + DivAssign<&'a Self>,
    for<'a> Self: Rem<&'a Self, Output = Self> + RemAssign<&'a Self>,
    for<'a> Self: Shl<&'a Self, Output = Self> + ShlAssign<&'a Self>,
    for<'a> Self: Shr<&'a Self, Output = Self> + ShrAssign<&'a Self>,
    for<'a> Self: BitAnd<&'a Self, Output = Self> + BitAndAssign<&'a Self>,
    for<'a> Self: BitOr<&'a Self, Output = Self> + BitOrAssign<&'a Self>,
    for<'a> Self: BitXor<&'a Self, Output = Self> + BitXorAssign<&'a Self>,
    Self: Not<Output = Self>,
    Self: SimdElement
{ type Simd: SimdBits<Self, LANES>; const MIN: Self; const MAX: Self; const ONE: Self; fn saturating_add(self, other: Self) -> Self;
fn saturating_sub(self, other: Self) -> Self; fn abs_sub(self, other: Self) -> Self { ... }
fn splat<const LANES: usize>(self) -> Self::Simd
    where
        LaneCount<LANES>: SupportedLaneCount
, { ... } }
Expand description

Bits representation of Real number with associated SimdBits vector.

Associated Types

Associated vector.

Associated Constants

The smallest value that can be represented by this integer type.

The largest value that can be represented by this integer type.

$1$

Required methods

Saturating add.

Saturating subtract.

Provided methods

Absolute subtract.

Equals self.saturating_sub(other) | other.saturating_sub(self).

Constructs a SIMD vector by setting all lanes to the given value.

Implementations on Foreign Types

Implementors