pub struct ProtoPathBuf { /* private fields */ }
Expand description
Protobuf file relative normalized file path.
Implementations§
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§
source§impl Borrow<ProtoPath> for ProtoPathBuf
impl Borrow<ProtoPath> for ProtoPathBuf
source§impl Clone for ProtoPathBuf
impl Clone for ProtoPathBuf
source§fn clone(&self) -> ProtoPathBuf
fn clone(&self) -> ProtoPathBuf
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProtoPathBuf
impl Debug for ProtoPathBuf
source§impl Default for ProtoPathBuf
impl Default for ProtoPathBuf
source§fn default() -> ProtoPathBuf
fn default() -> ProtoPathBuf
Returns the “default value” for a type. Read more
source§impl Deref for ProtoPathBuf
impl Deref for ProtoPathBuf
source§impl Display for ProtoPathBuf
impl Display for ProtoPathBuf
source§impl Hash for ProtoPathBuf
impl Hash for ProtoPathBuf
source§impl PartialEq<str> for ProtoPathBuf
impl PartialEq<str> for ProtoPathBuf
source§impl PartialEq for ProtoPathBuf
impl PartialEq for ProtoPathBuf
impl Eq for ProtoPathBuf
impl StructuralPartialEq for ProtoPathBuf
Auto Trait Implementations§
impl Freeze for ProtoPathBuf
impl RefUnwindSafe for ProtoPathBuf
impl Send for ProtoPathBuf
impl Sync for ProtoPathBuf
impl Unpin for ProtoPathBuf
impl UnwindSafe for ProtoPathBuf
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more