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

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

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

Required methods

fn len_varint_zigzag(&self) -> u32

Size of self when encoded as zigzag varint.

Loading content...

Implementations on Foreign Types

impl ProtobufVarintZigzag for i64[src]

impl ProtobufVarintZigzag for i32[src]

Loading content...

Implementors

Loading content...