Struct protobuf::descriptorx::MessageWithScope
[−]
[src]
pub struct MessageWithScope<'a> { pub scope: Scope<'a>, pub message: &'a DescriptorProto, }
Fields
scope: Scope<'a>
message: &'a DescriptorProto
Methods
impl<'a> MessageWithScope<'a>
[src]
fn into_scope(self) -> Scope<'a>
fn to_scope(&self) -> Scope<'a>
fn fields(&'a self) -> Vec<FieldWithContext<'a>>
fn oneofs(&'a self) -> Vec<OneofWithContext<'a>>
fn oneof_by_index(&'a self, index: u32) -> OneofWithContext<'a>
Trait Implementations
impl<'a> Clone for MessageWithScope<'a>
[src]
fn clone(&self) -> MessageWithScope<'a>
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