[go: up one dir, main page]

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§

Provided Methods§

Implementors§