[][src]Struct swar::Bits128

pub struct Bits128<N>(pub N);

This is used when every 128 bits is a number stored in parallel.

Methods

impl Bits128<u128>[src]

pub fn sum_weight(self) -> u128[src]

pub fn hwd(self, other: Self) -> Self[src]

Trait Implementations

impl<N: Copy> Copy for Bits128<N>[src]

impl<N: Debug> Debug for Bits128<N>[src]

impl<N: PartialEq> PartialEq<Bits128<N>> for Bits128<N>[src]

impl<N: Eq> Eq for Bits128<N>[src]

impl Add<Bits128<u128>> for Bits128<u128>[src]

type Output = Self

The resulting type after applying the + operator.

impl BitAnd<u128> for Bits128<u128>[src]

type Output = Self

The resulting type after applying the & operator.

impl Shr<u32> for Bits128<u128>[src]

type Output = Self

The resulting type after applying the >> operator.

impl From<Bits128<u128>> for u128[src]

impl<N: Clone> Clone for Bits128<N>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<N> Send for Bits128<N> where
    N: Send

impl<N> Sync for Bits128<N> where
    N: Sync

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]