Home
last modified time | relevance | path

Searched defs:RustIdent (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Drust_name.rs6 pub(crate) struct RustIdent(String); struct
9 impl RustIdent { implementation
10 pub fn new(s: &str) -> RustIdent { in new()
35 impl fmt::Display for RustIdent { implementation
41 impl From<&'_ str> for RustIdent { implementation
47 impl From<String> for RustIdent { implementation
53 impl Into<String> for RustIdent { implementation
87 pub fn first(&self) -> Option<RustIdent> { in first()
91 pub fn remove_first(&mut self) -> Option<RustIdent> { in remove_first()
99 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()
[all …]
Dfile.rs15 pub(crate) fn proto_path_to_rust_mod(path: &str) -> RustIdent { in proto_path_to_rust_mod()
Dscope.rs288 fn rust_name(&self) -> RustIdent { in rust_name()
420 pub fn rust_name(&self) -> RustIdent { in rust_name()
503 pub fn rust_name(&self) -> RustIdent { in rust_name()
530 pub fn field_name(&'a self) -> RustIdent { in field_name()
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs2026 pub(crate) fn rust_field_name_for_protobuf_field_name(name: &str) -> RustIdent { in rust_field_name_for_protobuf_field_name()