Searched defs:RustIdent (Results 1 – 13 of 13) 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 …]
289 fn rust_name(&self) -> RustIdent { in rust_name()421 pub fn rust_name(&self) -> RustIdent { in rust_name()504 pub fn rust_name(&self) -> RustIdent { in rust_name()531 pub fn field_name(&'a self) -> RustIdent { in field_name()
15 pub(crate) fn proto_path_to_rust_mod(path: &str) -> RustIdent { in proto_path_to_rust_mod()
9 pub(crate) struct RustIdent(String); struct11 impl RustIdent { impl12 pub fn new(s: &str) -> RustIdent { in new()39 impl fmt::Display for RustIdent { implementation52 impl From<&'_ str> for RustIdent { implementation58 impl From<String> for RustIdent { implementation
51 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()62 pub fn push_ident(&mut self, ident: RustIdent) { in push_ident()
26 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()
37 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()
317 fn rust_name(&self) -> RustIdent { in rust_name()387 pub fn mod_name(&self) -> RustIdent { in mod_name()431 pub fn rust_name(&self) -> RustIdent { in rust_name()511 pub fn field_name(&'a self) -> RustIdent { in field_name()
127 fn rust_name(&self) -> RustIdent { in rust_name()783 pub(crate) fn message_name_to_nested_mod_name(message_name: &str) -> RustIdent { in message_name_to_nested_mod_name()
18 pub(crate) fn proto_path_to_rust_mod(path: &str) -> RustIdent { in proto_path_to_rust_mod()
44 pub fn rust_name_inner(&self) -> RustIdent { in rust_name_inner()
1461 fn has_name(&self) -> RustIdent { in has_name()1465 fn set_name(&self) -> RustIdent { in set_name()1469 fn mut_name(&self) -> RustIdent { in mut_name()1843 pub(crate) fn rust_field_name_for_protobuf_field_name(name: &str) -> RustIdent { in rust_field_name_for_protobuf_field_name()1847 pub(crate) fn rust_variant_name_for_protobuf_oneof_field_name(name: &str) -> RustIdent { in rust_variant_name_for_protobuf_oneof_field_name()
2025 pub(crate) fn rust_field_name_for_protobuf_field_name(name: &str) -> RustIdent { in rust_field_name_for_protobuf_field_name()