pub struct SourceSubpath(/* private fields */);Expand description
Normalized relative package coordinate under a fetched source root.
Implementations§
Source§impl SourceSubpath
impl SourceSubpath
Trait Implementations§
Source§impl AsRef<str> for SourceSubpath
impl AsRef<str> for SourceSubpath
Source§impl Clone for SourceSubpath
impl Clone for SourceSubpath
Source§impl Debug for SourceSubpath
impl Debug for SourceSubpath
Source§impl<'de> Deserialize<'de> for SourceSubpath
impl<'de> Deserialize<'de> for SourceSubpath
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SourceSubpath
impl Display for SourceSubpath
impl Eq for SourceSubpath
Source§impl FromStr for SourceSubpath
impl FromStr for SourceSubpath
Source§impl Hash for SourceSubpath
impl Hash for SourceSubpath
Source§impl Ord for SourceSubpath
impl Ord for SourceSubpath
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourceSubpath
impl PartialEq for SourceSubpath
Source§impl PartialOrd for SourceSubpath
impl PartialOrd for SourceSubpath
Source§impl Serialize for SourceSubpath
impl Serialize for SourceSubpath
impl StructuralPartialEq for SourceSubpath
Auto Trait Implementations§
impl Freeze for SourceSubpath
impl RefUnwindSafe for SourceSubpath
impl Send for SourceSubpath
impl Sync for SourceSubpath
impl Unpin for SourceSubpath
impl UnsafeUnpin for SourceSubpath
impl UnwindSafe for SourceSubpath
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.