pub struct StaticArenas<'a, V> {
pub values: &'a mut [Option<V>],
pub terminals: &'a mut [Option<V>],
pub output_scratch: &'a mut [V],
pub invocation: &'a [Option<V>],
}Expand description
Caller-owned execution arenas for StaticExecutor::execute. Firmware
provisions each slice once from McuArenaRequirements; the executor grows
none of them.
Fields§
§values: &'a mut [Option<V>]One live-buffer slot per plan buffer (value_slots).
terminals: &'a mut [Option<V>]Collected unconnected outputs (terminal_slots).
output_scratch: &'a mut [V]Per-step output workspace, reused each step (max_step_outputs).
invocation: &'a [Option<V>]One value per invocation port (invocation_slots).
Auto Trait Implementations§
impl<'a, V> !UnwindSafe for StaticArenas<'a, V>
impl<'a, V> Freeze for StaticArenas<'a, V>
impl<'a, V> RefUnwindSafe for StaticArenas<'a, V>where
&'a mut [Option<V>]: RefUnwindSafe,
&'a mut [V]: RefUnwindSafe,
&'a [Option<V>]: RefUnwindSafe,
impl<'a, V> Send for StaticArenas<'a, V>
impl<'a, V> Sync for StaticArenas<'a, V>
impl<'a, V> Unpin for StaticArenas<'a, V>
impl<'a, V> UnsafeUnpin for StaticArenas<'a, V>
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