Trait varint::ZigZag [] [src]

pub trait ZigZag<T> {
    fn zigzag(&self) -> T;
}

A trait for enabling zig-zag encoding of various values

Required Methods

Encodes this ZigZag-enabled type into the type specified by implementation

Implementors