pub struct ScopeCoord {
pub vars: IndexMap<String, Value>,
}Expand description
One scope’s worth of iteration coordinates — the LHS names
and current values of every extern <var>: <type> clause
that scope declared (excluding ones inherited from a parent).
Ordered by declaration position. The map is empty for scopes that don’t own any coordinates (e.g. a scenario node that’s just a list of phases — no comprehension at that level).
Fields§
§vars: IndexMap<String, Value>The coordinates, in declaration order.
Implementations§
Trait Implementations§
Source§impl Clone for ScopeCoord
impl Clone for ScopeCoord
Source§impl Debug for ScopeCoord
impl Debug for ScopeCoord
Source§impl Default for ScopeCoord
impl Default for ScopeCoord
Source§impl<I> From<I> for ScopeCoord
Helper for building a coord set from (name, Value) pairs.
impl<I> From<I> for ScopeCoord
Helper for building a coord set from (name, Value) pairs.
Auto Trait Implementations§
impl !RefUnwindSafe for ScopeCoord
impl !UnwindSafe for ScopeCoord
impl Forget for ScopeCoord
impl Freeze for ScopeCoordwhere
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for ScopeCoord
impl Send for ScopeCoordwhere
RawTable<usize>: Send,
RawVecInner: Send,
Arc<str>: Send,
Arc<[u8]>: Send,
Arc<Value>: Send,
BoxRaw<dyn ReflectedValue>: Send,
Arc<dyn Any + Send + Sync>: Send,
Arc<OrdinalSet>: Send,
Arc<PredicateForms>: Send,
Arc<RecordForms>: Send,
SliceArc<f32>: Send,
SliceArc<i32>: Send,
SliceArc<f64>: Send,
SliceArc<i64>: Send,
SliceArc<f16>: Send,
SliceArc<i16>: Send,
SliceArc<i8>: Send,
impl Sync for ScopeCoordwhere
RawTable<usize>: Sync,
RawVecInner: Sync,
Arc<str>: Sync,
Arc<[u8]>: Sync,
Arc<Value>: Sync,
BoxRaw<dyn ReflectedValue>: Sync,
Arc<dyn Any + Send + Sync>: Sync,
Arc<OrdinalSet>: Sync,
Arc<PredicateForms>: Sync,
Arc<RecordForms>: Sync,
SliceArc<f32>: Sync,
SliceArc<i32>: Sync,
SliceArc<f64>: Sync,
SliceArc<i64>: Sync,
SliceArc<f16>: Sync,
SliceArc<i16>: Sync,
SliceArc<i8>: Sync,
impl Unpin for ScopeCoordwhere
*const u8 is !null: Unpin,
Arc<str>: Unpin,
Arc<[u8]>: Unpin,
Arc<Value>: Unpin,
Box<dyn ReflectedValue>: Unpin,
Arc<dyn Any + Send + Sync>: Unpin,
Arc<OrdinalSet>: Unpin,
Arc<PredicateForms>: Unpin,
Arc<RecordForms>: Unpin,
*const f32: Unpin,
*const i32: Unpin,
*const f64: Unpin,
*const i64: Unpin,
*const f16: Unpin,
*const i16: Unpin,
*const i8: Unpin,
impl UnsafeUnpin for ScopeCoordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more