pub struct Projected {
pub field: Ident,
pub from: Ident,
pub ty: Type,
}Expand description
One field of the index, and the upstream field it is read out of.
Fields§
§field: IdentThe INDEX’s own field.
from: IdentThe UPSTREAM’s field, carrying the span of the string that named it — which is the span every refusal about this projection lands at.
ty: TypeThe index field’s declared type, which is the audit’s RETURN type: a projection that reads the
wrong shape out of the upstream is E0308 here rather than a mismatch inside a store.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Projected
impl !Sync for Projected
impl Freeze for Projected
impl RefUnwindSafe for Projected
impl Unpin for Projected
impl UnsafeUnpin for Projected
impl UnwindSafe for Projected
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