Lines Matching defs:ProtoPath
32 pub struct ProtoPath { struct
48 impl Borrow<ProtoPath> for ProtoPathBuf { argument
49 fn borrow(&self) -> &ProtoPath { in borrow()
57 fn deref(&self) -> &ProtoPath { in deref()
62 impl fmt::Display for ProtoPath { implementation
74 impl PartialEq<str> for ProtoPath { implementation
86 impl ProtoPath { implementation
87 fn unchecked_new(path: &str) -> &ProtoPath { in unchecked_new()
88 unsafe { &*(path as *const str as *const ProtoPath) } in unchecked_new() constant
91 pub fn new(path: &str) -> anyhow::Result<&ProtoPath> { in new()
128 pub fn as_path(&self) -> &ProtoPath { in as_path()