Struct protobuf::descriptorx::FileScope
[−]
[src]
pub struct FileScope<'a> { pub file_descriptor: &'a FileDescriptorProto, }
Fields
file_descriptor: &'a FileDescriptorProto
Methods
impl<'a> FileScope<'a>
[src]
fn to_scope(&self) -> Scope<'a>
fn find_enums(&self) -> Vec<EnumWithScope<'a>>
fn find_messages(&self) -> Vec<MessageWithScope<'a>>
fn find_messages_and_enums(&self) -> Vec<MessageOrEnumWithScope<'a>>
Trait Implementations
impl<'a> Clone for FileScope<'a>
[src]
fn clone(&self) -> FileScope<'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