Trait protobuf::descriptorx::WithScope
[−]
[src]
pub trait WithScope<'a> {
fn get_scope(&self) -> &Scope<'a>;
fn get_name(&self) -> &'a str;
fn get_file_descriptor(&self) -> &'a FileDescriptorProto { ... }
fn name_to_package(&self) -> String { ... }
fn rust_name(&self) -> String { ... }
fn rust_fq_name(&self) -> String { ... }
}
Required Methods
Provided Methods
fn get_file_descriptor(&self) -> &'a FileDescriptorProto
fn name_to_package(&self) -> String
fn rust_name(&self) -> String
fn rust_fq_name(&self) -> String
Implementors
impl<'a> WithScope<'a> for MessageWithScope<'a>impl<'a> WithScope<'a> for EnumWithScope<'a>impl<'a> WithScope<'a> for MessageOrEnumWithScope<'a>