[][src]Trait protobuf::descriptorx::WithScope

pub trait WithScope<'a> {
    fn get_scope(&self) -> &Scope<'a>;
fn get_name(&self) -> &'a str;
fn escape_prefix(&self) -> &'static 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

fn get_scope(&self) -> &Scope<'a>

fn get_name(&self) -> &'a str

fn escape_prefix(&self) -> &'static str

Loading content...

Provided methods

Loading content...

Implementors

impl<'a> WithScope<'a> for MessageOrEnumWithScope<'a>
[src]

fn get_file_descriptor(&self) -> &'a FileDescriptorProto
[src]

fn name_to_package(&self) -> String
[src]

fn rust_name(&self) -> String
[src]

fn rust_fq_name(&self) -> String
[src]

impl<'a> WithScope<'a> for EnumWithScope<'a>
[src]

fn get_file_descriptor(&self) -> &'a FileDescriptorProto
[src]

fn name_to_package(&self) -> String
[src]

fn rust_name(&self) -> String
[src]

fn rust_fq_name(&self) -> String
[src]

impl<'a> WithScope<'a> for MessageWithScope<'a>
[src]

fn get_file_descriptor(&self) -> &'a FileDescriptorProto
[src]

fn name_to_package(&self) -> String
[src]

fn rust_name(&self) -> String
[src]

fn rust_fq_name(&self) -> String
[src]

Loading content...