Searched defs:RustIdent (Results 1 – 4 of 4) sorted by relevance
6 pub(crate) struct RustIdent(String); struct9 impl RustIdent { implementation10 pub fn new(s: &str) -> RustIdent { in new()35 impl fmt::Display for RustIdent { implementation41 impl From<&'_ str> for RustIdent { implementation47 impl From<String> for RustIdent { implementation53 impl Into<String> for RustIdent { implementation87 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 …]
15 pub(crate) fn proto_path_to_rust_mod(path: &str) -> RustIdent { in proto_path_to_rust_mod()
288 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()
2026 pub(crate) fn rust_field_name_for_protobuf_field_name(name: &str) -> RustIdent { in rust_field_name_for_protobuf_field_name()