pub struct PathLocated<T> {
pub value: T,
pub pos: Position,
pub path: Box<Path>,
}Expand description
T with a Position and a Path
Fields§
§value: T§pos: Position§path: Box<Path>Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for PathLocated<T>
impl<T: Clone> Clone for PathLocated<T>
Source§impl<T: Debug> Debug for PathLocated<T>
impl<T: Debug> Debug for PathLocated<T>
Source§impl<T: Display> Display for PathLocated<T>
impl<T: Display> Display for PathLocated<T>
Source§impl<T: Hash> Hash for PathLocated<T>
impl<T: Hash> Hash for PathLocated<T>
Source§impl<T: PartialEq> PartialEq for PathLocated<T>
impl<T: PartialEq> PartialEq for PathLocated<T>
impl<T: Eq> Eq for PathLocated<T>
Auto Trait Implementations§
impl<T> Freeze for PathLocated<T>where
T: Freeze,
impl<T> RefUnwindSafe for PathLocated<T>where
T: RefUnwindSafe,
impl<T> Send for PathLocated<T>where
T: Send,
impl<T> Sync for PathLocated<T>where
T: Sync,
impl<T> Unpin for PathLocated<T>where
T: Unpin,
impl<T> UnwindSafe for PathLocated<T>where
T: UnwindSafe,
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