Home
last modified time | relevance | path

Searched defs:ProtobufRelativePath (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Dprotobuf_name.rs44 pub struct ProtobufRelativePath { struct
50 impl ProtobufRelativePath { argument
57 pub fn new(path: String) -> ProtobufRelativePath { in new()
101 fn parent(&self) -> Option<ProtobufRelativePath> { in parent()
115 pub fn self_and_parents(&self) -> Vec<ProtobufRelativePath> { in self_and_parents()
131 pub fn append(&self, simple: &ProtobufRelativePath) -> ProtobufRelativePath { in append()
140 pub fn append_ident(&self, simple: &ProtobufIdent) -> ProtobufRelativePath { in append_ident()
145 pub fn split_first_rem(&self) -> Option<(ProtobufIdent, ProtobufRelativePath)> { in split_first_rem() argument
163 impl From<&'_ str> for ProtobufRelativePath { implementation
164 fn from(s: &str) -> ProtobufRelativePath { in from()
[all …]
Dscope.rs84 name: &ProtobufRelativePath, in find_message_or_enum()
239 pub fn protobuf_path_to_file(&self) -> ProtobufRelativePath { in protobuf_path_to_file()
275 fn protobuf_name_to_package(&self) -> ProtobufRelativePath { in protobuf_name_to_package()