pub struct TypePath {
pub parent: ModulePath,
pub name: String,
}Expand description
A fully qualified absolute path like a::b::Item split into ["a", "b"] and "Item".
Fields§
§parent: ModulePathThe parent components like ["a", "b"] in a::b::Item.
name: StringThe name of the item like "Item" for a::b::Item.
Trait Implementations§
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.