Struct protobuf::descriptorx::Scope
[−]
[src]
pub struct Scope<'a> { pub file_scope: FileScope<'a>, pub path: Vec<&'a DescriptorProto>, }
Fields
file_scope: FileScope<'a>
path: Vec<&'a DescriptorProto>
Methods
impl<'a> Scope<'a>
[src]
fn get_file_descriptor(&self) -> &'a FileDescriptorProto
fn get_messages(&self) -> Vec<MessageWithScope<'a>>
fn get_enums(&self) -> Vec<EnumWithScope<'a>>
fn get_messages_and_enums(&self) -> Vec<MessageOrEnumWithScope<'a>>
fn prefix(&self) -> String
fn rust_prefix(&self) -> String
Trait Implementations
impl<'a> Clone for Scope<'a>
[src]
fn clone(&self) -> Scope<'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