[−][src]Trait protobuf::rt::ProtobufVarint
Helper trait implemented by integer types which could be encoded as varint.
Required methods
fn len_varint(&self) -> u32
Size of self when encoded as varint.
Implementations on Foreign Types
impl ProtobufVarint for u64
[src]
impl ProtobufVarint for u64
fn len_varint(&self) -> u32 | [src] |
impl ProtobufVarint for u32
[src]
impl ProtobufVarint for u32
fn len_varint(&self) -> u32 | [src] |
impl ProtobufVarint for i64
[src]
impl ProtobufVarint for i64
fn len_varint(&self) -> u32 | [src] |
impl ProtobufVarint for i32
[src]
impl ProtobufVarint for i32
fn len_varint(&self) -> u32 | [src] |
impl ProtobufVarint for bool
[src]
impl ProtobufVarint for bool
fn len_varint(&self) -> u32 | [src] |