Struct protobuf::stream::wire_format::Tag
[−]
[src]
pub struct Tag { /* fields omitted */ }
Methods
impl Tag
[src]
pub fn value(self) -> u32
[src]
pub fn new(value: u32) -> Option<Tag>
[src]
pub fn make(field_number: u32, wire_type: WireType) -> Tag
[src]
pub fn unpack(self) -> (u32, WireType)
[src]
pub fn field_number(self) -> u32
[src]
Trait Implementations
impl Clone for Tag
[src]
fn clone(&self) -> Tag
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more