[][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

fn get_file_descriptor(&self) -> &'a FileDescriptorProto

fn name_to_package(&self) -> String

fn rust_name(&self) -> String

fn rust_fq_name(&self) -> String

Loading content...

Implementors

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

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

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

Loading content...