Trait protobuf::rt::ProtobufVarintZigzag
source · pub trait ProtobufVarintZigzag {
// Required method
fn len_varint_zigzag(&self) -> u32;
}
Expand description
Helper trait implemented by integer types which could be encoded as zigzag varint.
Required Methods§
sourcefn len_varint_zigzag(&self) -> u32
fn len_varint_zigzag(&self) -> u32
Size of self when encoded as zigzag varint.