pub struct NamePath {
pub parts: Vec<Identifier>,
pub span: Span,
}Expand description
A name path (e.g., std::collections::HashMap)
Fields§
§parts: Vec<Identifier>The individual identifier parts of the path.
span: SpanThe source code span covering the entire name path.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NamePath
impl<'de> Deserialize<'de> for NamePath
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NamePath
impl StructuralPartialEq for NamePath
Auto Trait Implementations§
impl Freeze for NamePath
impl RefUnwindSafe for NamePath
impl Send for NamePath
impl Sync for NamePath
impl Unpin for NamePath
impl UnsafeUnpin for NamePath
impl UnwindSafe for NamePath
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