Trait ppv_lite86::types::Swap64

source ·
pub trait Swap64 {
    // Required methods
    fn swap1(self) -> Self;
    fn swap2(self) -> Self;
    fn swap4(self) -> Self;
    fn swap8(self) -> Self;
    fn swap16(self) -> Self;
    fn swap32(self) -> Self;
    fn swap64(self) -> Self;
}
Expand description

Exchange neigboring ranges of bits of the specified size

Required Methods§

source

fn swap1(self) -> Self

source

fn swap2(self) -> Self

source

fn swap4(self) -> Self

source

fn swap8(self) -> Self

source

fn swap16(self) -> Self

source

fn swap32(self) -> Self

source

fn swap64(self) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S4, NI> Swap64 for u128x1_sse2<NoS3, S4, NI>

source§

impl<S4, NI> Swap64 for u128x1_sse2<YesS3, S4, NI>

source§

impl<W> Swap64 for x4<W>
where W: Swap64 + Copy,

source§

impl<W, G> Swap64 for x2<W, G>
where W: Swap64 + Copy,