Home
last modified time | relevance | path

Searched refs:RustRelativePath (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/rust/
Drel_path.rs9 pub(crate) struct RustRelativePath { struct
13 impl RustRelativePath { implementation
21 pub fn _empty() -> RustRelativePath { in _empty()
22 RustRelativePath { path: Vec::new() } in _empty()
25 pub fn from_components<I: IntoIterator<Item = RustPathComponent>>(i: I) -> RustRelativePath { in from_components()
26 RustRelativePath { in from_components()
31 pub fn from_idents<I: IntoIterator<Item = RustIdent>>(i: I) -> RustRelativePath { in from_idents()
55 pub fn append(mut self, path: RustRelativePath) -> RustRelativePath { in append() argument
66 pub fn append_ident(mut self, ident: RustIdent) -> RustRelativePath { in append_ident() argument
71 pub fn to_reverse(&self) -> RustRelativePath { in to_reverse() argument
[all …]
Dpath.rs6 use crate::gen::rust::rel_path::RustRelativePath;
11 pub(crate) path: RustRelativePath,
66 pub fn into_relative_or_panic(self) -> RustRelativePath { in into_relative_or_panic() argument
81 path: RustRelativePath::from(s), in from()
Dident.rs5 use crate::gen::rust::rel_path::RustRelativePath;
34 pub(crate) fn into_rel_path(self) -> RustRelativePath { in into_rel_path() argument
35 RustRelativePath::from_idents([self]) in into_rel_path()
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/protobuf-codegen/src/
Drust_name.rs60 pub(crate) struct RustRelativePath { struct
65 impl RustRelativePath { implementation
73 pub fn empty() -> RustRelativePath { in empty()
74 RustRelativePath { path: Vec::new() } in empty()
77 pub fn from_components<I: IntoIterator<Item = RustIdent>>(i: I) -> RustRelativePath { in from_components()
78 RustRelativePath { in from_components()
103 pub fn append(mut self, path: RustRelativePath) -> RustRelativePath { in append() argument
114 pub fn _append_ident(mut self, ident: RustIdent) -> RustRelativePath { in _append_ident() argument
119 pub fn to_reverse(&self) -> RustRelativePath { in to_reverse() argument
120 RustRelativePath::from_components( in to_reverse()
[all …]
Dfile_and_mod.rs1 use rust_name::RustRelativePath;
7 pub relative_mod: RustRelativePath,
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/src/gen/
Dextensions.rs13 use crate::gen::rust::rel_path::RustRelativePath;
30 relative_mod: RustRelativePath::from("exts"), in extendee_rust_name()
53 relative_mod: RustRelativePath::from("exts"), in return_type_gen()
Dfile_and_mod.rs2 use crate::gen::rust::rel_path::RustRelativePath;
6 pub relative_mod: RustRelativePath,
Doneof.rs25 use crate::gen::rust::rel_path::RustRelativePath;
103 pub fn variant_path(&self, reference: &RustRelativePath) -> RustIdentWithPath { in variant_path()
197 pub fn type_name_relative(&self, source: &RustRelativePath) -> RustIdentWithPath { in type_name_relative()
Dscope.rs23 use crate::gen::rust::rel_path::RustRelativePath;
247 pub fn rust_path_to_file(&self) -> RustRelativePath { in rust_path_to_file() argument
248 RustRelativePath::from_idents( in rust_path_to_file()
Drust_types_values.rs19 use crate::gen::rust::rel_path::RustRelativePath;
467 fn make_path_to_path(source: &RustRelativePath, dest: &RustPath) -> RustPath { in make_path_to_path() argument
481 pub(crate) fn make_path(source: &RustRelativePath, dest: &RustIdentWithPath) -> RustIdentWithPath { in make_path() argument
Dcode_writer.rs3 use crate::gen::rust::rel_path::RustRelativePath;
9 Path(RustRelativePath),
Dmessage.rs24 use crate::gen::rust::rel_path::RustRelativePath;
131 fn mod_name(&self) -> RustRelativePath { in mod_name() argument