Struct protobuf::stream::wire_format::Tag [] [src]

pub struct Tag {
    // some fields omitted
}

Methods

impl Tag
[src]

fn value(self) -> u32

fn new(value: u32) -> Option<Tag>

fn make(field_number: u32, wire_type: WireType) -> Tag

fn unpack(self) -> (u32, WireType)

fn field_number(self) -> u32

Trait Implementations

impl Clone for Tag
[src]

fn clone(&self) -> Tag

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Tag
[src]