pub struct TypePath { /* private fields */ }Expand description
Fully-qualified canonical path to a type in the user’s crate (or an external crate).
The pool walker normalizes use statements and crate:: prefixes into
canonical form before constructing a TypePath, so two references to the
same item always produce the same key.
Invariant: segments is non-empty. Construct via TypePath::new.
Implementations§
Trait Implementations§
impl Eq for TypePath
Source§impl Ord for TypePath
impl Ord for TypePath
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 PartialOrd for TypePath
impl PartialOrd for TypePath
impl StructuralPartialEq for TypePath
Auto Trait Implementations§
impl Freeze for TypePath
impl RefUnwindSafe for TypePath
impl Send for TypePath
impl Sync for TypePath
impl Unpin for TypePath
impl UnsafeUnpin for TypePath
impl UnwindSafe for TypePath
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