Lines Matching defs:ProtobufRelativePath
44 pub struct ProtobufRelativePath { struct
50 impl ProtobufRelativePath { impl
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()
169 impl From<String> for ProtobufRelativePath { implementation
170 fn from(s: String) -> ProtobufRelativePath { in from()
175 impl From<ProtobufIdent> for ProtobufRelativePath { implementation
176 fn from(s: ProtobufIdent) -> ProtobufRelativePath { in from()
181 impl From<Vec<ProtobufIdent>> for ProtobufRelativePath { implementation
182 fn from(s: Vec<ProtobufIdent>) -> ProtobufRelativePath { in from()
187 impl fmt::Display for ProtobufRelativePath { implementation
296 pub fn push_relative(&mut self, relative: &ProtobufRelativePath) { in push_relative()
304 pub fn remove_prefix(&self, prefix: &ProtobufAbsolutePath) -> Option<ProtobufRelativePath> { in remove_prefix()