pub struct LoopState {Show 14 fields
pub loop_type: LoopType,
pub proc_entity: EntityId,
pub proc_start: u32,
pub proc_len: u32,
pub counter: f64,
pub increment: f64,
pub limit: f64,
pub use_int: bool,
pub source: PsObject,
pub index: u32,
pub dict_keys: Option<Vec<DictKey>>,
pub path_segments: Option<Vec<PathSegment>>,
pub path_procs: Option<[PsObject; 4]>,
pub path_ictm: Option<Matrix>,
}Expand description
Loop state for for, repeat, loop, and forall.
Fields§
§loop_type: LoopType§proc_entity: EntityId§proc_start: u32§proc_len: u32§counter: f64§increment: f64§limit: f64§use_int: bool§source: PsObject§index: u32§dict_keys: Option<Vec<DictKey>>Snapshot of dict keys for dict forall (avoids re-collecting every iteration).
path_segments: Option<Vec<PathSegment>>§path_procs: Option<[PsObject; 4]>§path_ictm: Option<Matrix>Auto Trait Implementations§
impl Freeze for LoopState
impl RefUnwindSafe for LoopState
impl Send for LoopState
impl Sync for LoopState
impl Unpin for LoopState
impl UnsafeUnpin for LoopState
impl UnwindSafe for LoopState
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