[][src]Trait zigzag::ZigZag

pub trait ZigZag: Signed + PrimInt where
    Self: AsPrimitive<Self::UInt>, 
{ type UInt: Unsigned + PrimInt + AsPrimitive<Self>; fn encode(value: Self) -> Self::UInt { ... }
fn decode(value: Self::UInt) -> Self { ... } }

Associated Types

Loading content...

Provided methods

fn encode(value: Self) -> Self::UInt

fn decode(value: Self::UInt) -> Self

Loading content...

Implementations on Foreign Types

impl ZigZag for i128[src]

type UInt = u128

impl ZigZag for i64[src]

type UInt = u64

impl ZigZag for i32[src]

type UInt = u32

impl ZigZag for i16[src]

type UInt = u16

impl ZigZag for i8[src]

type UInt = u8

Loading content...

Implementors

Loading content...