Struct scopegraphs::resolve::ResolvedPath
source · pub struct ResolvedPath<'sg, LABEL, DATA> { /* private fields */ }Expand description
A path in the scope graph, including the data of the target of the path.
Implementations§
Trait Implementations§
source§impl<'sg, LABEL: Clone, DATA> Clone for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL: Clone, DATA> Clone for ResolvedPath<'sg, LABEL, DATA>
source§impl<'sg, LABEL: 'sg, DATA: Hash> FromIterator<ResolvedPath<'sg, LABEL, DATA>> for Env<'sg, LABEL, DATA>
impl<'sg, LABEL: 'sg, DATA: Hash> FromIterator<ResolvedPath<'sg, LABEL, DATA>> for Env<'sg, LABEL, DATA>
source§fn from_iter<T: IntoIterator<Item = ResolvedPath<'sg, LABEL, DATA>>>(
iter: T
) -> Self
fn from_iter<T: IntoIterator<Item = ResolvedPath<'sg, LABEL, DATA>>>( iter: T ) -> Self
Creates a value from an iterator. Read more
source§impl<'sg, LABEL: PartialEq, DATA: PartialEq> PartialEq for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL: PartialEq, DATA: PartialEq> PartialEq for ResolvedPath<'sg, LABEL, DATA>
source§fn eq(&self, other: &ResolvedPath<'sg, LABEL, DATA>) -> bool
fn eq(&self, other: &ResolvedPath<'sg, LABEL, DATA>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'sg, LABEL: Eq, DATA: Eq> Eq for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL, DATA> StructuralPartialEq for ResolvedPath<'sg, LABEL, DATA>
Auto Trait Implementations§
impl<'sg, LABEL, DATA> Freeze for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL, DATA> RefUnwindSafe for ResolvedPath<'sg, LABEL, DATA>where
DATA: RefUnwindSafe,
LABEL: RefUnwindSafe,
impl<'sg, LABEL, DATA> !Send for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL, DATA> !Sync for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL, DATA> Unpin for ResolvedPath<'sg, LABEL, DATA>
impl<'sg, LABEL, DATA> UnwindSafe for ResolvedPath<'sg, LABEL, DATA>where
DATA: RefUnwindSafe,
LABEL: RefUnwindSafe,
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