[][src]Struct swar::Bits2x4

pub struct Bits2x4<N>(pub Bits4<N>);

This is used when every 2 bits is a number stored in parallel with a stride of 4.

Trait Implementations

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

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

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

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

impl<N> From<Bits2x4<N>> for Bits4<N>[src]

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

type Output = Bits3x4<u128>

The resulting type after applying the + operator.

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

default 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 Bits2x4<N> where
    N: Send

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

Blanket Implementations

impl<T> From for T[src]

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, 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]