[][src]Trait varint_simd::num::SignedVarIntTarget

pub trait SignedVarIntTarget: Debug + Eq + PartialEq + Sized + Copy {
    type Unsigned: VarIntTarget<Signed = Self>;
    pub fn zigzag(from: Self) -> Self::Unsigned { ... }
pub fn unzigzag(from: Self::Unsigned) -> Self { ... } }

Associated Types

type Unsigned: VarIntTarget<Signed = Self>[src]

Loading content...

Provided methods

pub fn zigzag(from: Self) -> Self::Unsigned[src]

ZigZag encodes this value

pub fn unzigzag(from: Self::Unsigned) -> Self[src]

ZigZag decodes this value

Loading content...

Implementations on Foreign Types

impl SignedVarIntTarget for i8[src]

type Unsigned = u8

impl SignedVarIntTarget for i16[src]

type Unsigned = u16

impl SignedVarIntTarget for i32[src]

type Unsigned = u32

impl SignedVarIntTarget for i64[src]

type Unsigned = u64

Loading content...

Implementors

Loading content...