pub struct SymbolicPath { /* private fields */ }Expand description
A symbolic module path.
The string form is <dep-name>[/<sub-path>]. The <dep-name> is the
key declared under dependencies in the consumer’s module.json; the
optional <sub-path> addresses a specific document within a module.
Path components are case-sensitive.
Implementations§
Source§impl SymbolicPath
impl SymbolicPath
Trait Implementations§
Source§impl Clone for SymbolicPath
impl Clone for SymbolicPath
Source§fn clone(&self) -> SymbolicPath
fn clone(&self) -> SymbolicPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SymbolicPath
impl Debug for SymbolicPath
Source§impl Display for SymbolicPath
impl Display for SymbolicPath
impl Eq for SymbolicPath
Source§impl FromStr for SymbolicPath
impl FromStr for SymbolicPath
Source§impl Hash for SymbolicPath
impl Hash for SymbolicPath
Source§impl Ord for SymbolicPath
impl Ord for SymbolicPath
Source§fn cmp(&self, other: &SymbolicPath) -> Ordering
fn cmp(&self, other: &SymbolicPath) -> Ordering
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
Source§impl PartialEq for SymbolicPath
impl PartialEq for SymbolicPath
Source§impl PartialOrd for SymbolicPath
impl PartialOrd for SymbolicPath
impl StructuralPartialEq for SymbolicPath
Auto Trait Implementations§
impl Freeze for SymbolicPath
impl RefUnwindSafe for SymbolicPath
impl Send for SymbolicPath
impl Sync for SymbolicPath
impl Unpin for SymbolicPath
impl UnsafeUnpin for SymbolicPath
impl UnwindSafe for SymbolicPath
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
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§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.