Trait varint::ZigZag
[−]
[src]
pub trait ZigZag<T> { fn zigzag(&self) -> T; }
A trait for enabling zig-zag encoding of various values
Required Methods
fn zigzag(&self) -> T
Encodes this ZigZag-enabled type into the type specified by implementation