pub struct Upstream {
pub node: Path,
pub projections: Vec<Projected>,
}Expand description
The upstream a derived index draws from, and which of its fields each of the index’s own is read out of.
Fields§
§node: PathThe upstream node, as the declaration spelled it.
Carried VERBATIM and resolved nowhere in this crate. It is emitted, and the spans it carries are the authored string’s — so every error about it lands where the author can edit it.
projections: Vec<Projected>One entry per field of the index, in declared order.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Upstream
impl !Sync for Upstream
impl Freeze for Upstream
impl RefUnwindSafe for Upstream
impl Unpin for Upstream
impl UnsafeUnpin for Upstream
impl UnwindSafe for Upstream
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