Trait mesh_protobuf::encoding::ToNumber
source · pub trait ToNumber: Copy {
// Required methods
fn to_u64(self) -> u64;
fn to_i64(self) -> i64;
}
Expand description
A trait for converting a value to a u64 for use in varint encodings.
Required Methods§
Object Safety§
This trait is not object safe.