Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/android-crates-io/extra_versions/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 …]
Dscope.rs289 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()
Dfile.rs15 pub(crate) fn proto_path_to_rust_mod(path: &str) -> RustIdent { in proto_path_to_rust_mod()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/rust/
Dident.rs9 pub(crate) struct RustIdent(String); struct
11 impl RustIdent { impl
12 pub fn new(s: &str) -> RustIdent { in new()
39 impl fmt::Display for RustIdent { implementation
52 impl From<&'_ str> for RustIdent { implementation
58 impl From<String> for RustIdent { implementation
Drel_path.rs51 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()
62 pub fn push_ident(&mut self, ident: RustIdent) { in push_ident()
Dident_with_path.rs26 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()
Dpath.rs37 pub fn prepend_ident(&mut self, ident: RustIdent) { in prepend_ident()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/
Dscope.rs317 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()
Dmessage.rs127 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()
Dpaths.rs18 pub(crate) fn proto_path_to_rust_mod(path: &str) -> RustIdent { in proto_path_to_rust_mod()
Denums.rs44 pub fn rust_name_inner(&self) -> RustIdent { in rust_name_inner()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/field/
Dmod.rs1461 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()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/field/
Dmod.rs2025 pub(crate) fn rust_field_name_for_protobuf_field_name(name: &str) -> RustIdent { in rust_field_name_for_protobuf_field_name()