Trait protobuf::rt::ProtobufVarintZigzag[][src]

pub trait ProtobufVarintZigzag {
    fn len_varint_zigzag(&self) -> u32;
}

Helper trait implemented by integer types which could be encoded as zigzag varint.

Required Methods

Size of self when encoded as zigzag varint.

Implementations on Foreign Types

impl ProtobufVarintZigzag for i64
[src]

impl ProtobufVarintZigzag for i32
[src]

Implementors