Struct protobuf_parse::ProtoPathBuf
source · [−]pub struct ProtoPathBuf { /* private fields */ }
Expand description
Protobuf file relative normalized file path.
Implementations
sourceimpl ProtoPathBuf
impl ProtoPathBuf
Methods from Deref<Target = ProtoPath>
pub fn to_str(&self) -> &str
pub fn to_path(&self) -> &Path
pub fn to_proto_path_buf(&self) -> ProtoPathBuf
Trait Implementations
sourceimpl Borrow<ProtoPath> for ProtoPathBuf
impl Borrow<ProtoPath> for ProtoPathBuf
sourceimpl Clone for ProtoPathBuf
impl Clone for ProtoPathBuf
sourcefn clone(&self) -> ProtoPathBuf
fn clone(&self) -> ProtoPathBuf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProtoPathBuf
impl Debug for ProtoPathBuf
sourceimpl Default for ProtoPathBuf
impl Default for ProtoPathBuf
sourcefn default() -> ProtoPathBuf
fn default() -> ProtoPathBuf
Returns the “default value” for a type. Read more
sourceimpl Deref for ProtoPathBuf
impl Deref for ProtoPathBuf
sourceimpl Display for ProtoPathBuf
impl Display for ProtoPathBuf
sourceimpl Hash for ProtoPathBuf
impl Hash for ProtoPathBuf
sourceimpl PartialEq<ProtoPathBuf> for ProtoPathBuf
impl PartialEq<ProtoPathBuf> for ProtoPathBuf
sourcefn eq(&self, other: &ProtoPathBuf) -> bool
fn eq(&self, other: &ProtoPathBuf) -> bool
impl Eq for ProtoPathBuf
impl StructuralEq for ProtoPathBuf
impl StructuralPartialEq for ProtoPathBuf
Auto Trait Implementations
impl RefUnwindSafe for ProtoPathBuf
impl Send for ProtoPathBuf
impl Sync for ProtoPathBuf
impl Unpin for ProtoPathBuf
impl UnwindSafe for ProtoPathBuf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.