Home
last modified time | relevance | path

Searched refs:RustIdentWithPath (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/protobuf-codegen/src/gen/rust/
Dident_with_path.rs8 pub(crate) struct RustIdentWithPath { struct
13 impl RustIdentWithPath { impl
14 pub fn new(s: String) -> RustIdentWithPath { in new() argument
23 RustIdentWithPath { path, ident } in new()
35 impl<S: Into<String>> From<S> for RustIdentWithPath { implementation
37 RustIdentWithPath::new(s.into()) in from()
41 impl fmt::Display for RustIdentWithPath { implementation
Dpath.rs5 use crate::gen::rust::ident_with_path::RustIdentWithPath;
23 pub fn with_ident(self, ident: RustIdent) -> RustIdentWithPath { in with_ident() argument
24 RustIdentWithPath { path: self, ident } in with_ident()
62 pub fn append_with_ident(self, path: RustIdentWithPath) -> RustIdentWithPath { in append_with_ident() argument
Dident.rs3 use crate::gen::rust::ident_with_path::RustIdentWithPath;
30 pub fn to_path(&self) -> RustIdentWithPath { in to_path() argument
31 RustIdentWithPath::from(&self.0) in to_path()
/external/rust/crates/protobuf-codegen/2.27.1/src/
Drust_name.rs30 pub fn to_path(&self) -> RustIdentWithPath { in to_path() argument
31 RustIdentWithPath::from(&self.0) in to_path()
163 pub fn with_ident(self, ident: RustIdent) -> RustIdentWithPath { in with_ident() argument
164 RustIdentWithPath { path: self, ident } in with_ident()
206 pub fn append_with_ident(self, path: RustIdentWithPath) -> RustIdentWithPath { in append_with_ident() argument
241 pub(crate) struct RustIdentWithPath { struct
247 impl RustIdentWithPath { argument
248 pub fn new(s: String) -> RustIdentWithPath { in new() argument
251 RustIdentWithPath { path, ident } in new()
263 impl<S: Into<String>> From<S> for RustIdentWithPath { implementation
[all …]
Dscope.rs15 use crate::rust_name::RustIdentWithPath;
536 pub fn rust_name(&self) -> RustIdentWithPath { in rust_name() argument
537 RustIdentWithPath::from(format!( in rust_name()
Dmessage.rs8 use rust_name::RustIdentWithPath;
23 pub(crate) struct RustTypeMessage(pub RustIdentWithPath);
46 type_name: RustIdentWithPath,
/external/rust/crates/protobuf-codegen/src/gen/
Drust_types_values.rs17 use crate::gen::rust::ident_with_path::RustIdentWithPath;
51 Enum(RustIdentWithPath, RustIdent, i32),
53 EnumOrUnknown(RustIdentWithPath, RustIdent, i32),
55 Oneof(RustIdentWithPath),
481 pub(crate) fn make_path(source: &RustRelativePath, dest: &RustIdentWithPath) -> RustIdentWithPath { in make_path() argument
488 ) -> RustIdentWithPath { in message_or_enum_to_rust_relative() argument
504 RustIdentWithPath::from(format!( in message_or_enum_to_rust_relative()
510 RustIdentWithPath::from(format!( in message_or_enum_to_rust_relative()
529 ) -> RustIdentWithPath { in type_name_to_rust_relative() argument
550 EnumOrUnknown(RustIdentWithPath),
Denums.rs14 use crate::gen::rust::ident_with_path::RustIdentWithPath;
24 enum_rust_name: RustIdentWithPath,
30 enum_rust_name: &RustIdentWithPath, in parse() argument
48 pub fn rust_name_outer(&self) -> RustIdentWithPath { in rust_name_outer() argument
58 type_name: RustIdentWithPath,
Doneof.rs23 use crate::gen::rust::ident_with_path::RustIdentWithPath;
39 pub type_name: RustIdentWithPath,
103 pub fn variant_path(&self, reference: &RustRelativePath) -> RustIdentWithPath { in variant_path() argument
197 pub fn type_name_relative(&self, source: &RustRelativePath) -> RustIdentWithPath { in type_name_relative() argument
Dextensions.rs12 use crate::gen::rust::ident_with_path::RustIdentWithPath;
25 fn extendee_rust_name(&self) -> RustIdentWithPath { in extendee_rust_name() argument
Dscope.rs22 use crate::gen::rust::ident_with_path::RustIdentWithPath;
322 fn rust_name_to_file(&self) -> RustIdentWithPath { in rust_name_to_file() argument
330 fn rust_name_with_file(&self) -> RustIdentWithPath { in rust_name_with_file() argument
516 pub fn rust_name(&self) -> RustIdentWithPath { in rust_name() argument
Dmessage.rs23 use crate::gen::rust::ident_with_path::RustIdentWithPath;
35 pub(crate) struct RustTypeMessage(pub RustIdentWithPath);
43 impl<S: Into<RustIdentWithPath>> From<S> for RustTypeMessage {
/external/rust/crates/protobuf-codegen/src/gen/field/
Delem.rs11 use crate::gen::rust::ident_with_path::RustIdentWithPath;
30 fn rust_name_relative(&self, reference: &FileAndMod) -> RustIdentWithPath { in rust_name_relative() argument
50 pub(crate) fn default_value_rust_expr(&self, reference: &FileAndMod) -> RustIdentWithPath { in default_value_rust_expr() argument
/external/rust/crates/protobuf-codegen/2.27.1/src/field/
Dmod.rs14 use rust_name::RustIdentWithPath;
272 RustType::Message(RustTypeMessage(RustIdentWithPath::new(name.clone()))) in rust_storage_type()