pub struct VmContext<'ctx> {
pub read_once_input: &'ctx [StateValue],
pub immutable_input: &'ctx [StateValue],
pub read_once_output: &'ctx [StateCell],
pub immutable_output: &'ctx [StateData],
}Fields§
§read_once_input: &'ctx [StateValue]§immutable_input: &'ctx [StateValue]§read_once_output: &'ctx [StateCell]§immutable_output: &'ctx [StateData]Implementations§
Source§impl VmContext<'_>
impl VmContext<'_>
pub fn state_value(&self, cat: IoCat, index: u16) -> Option<StateValue>
Trait Implementations§
impl<'ctx> Eq for VmContext<'ctx>
impl<'ctx> StructuralPartialEq for VmContext<'ctx>
Auto Trait Implementations§
impl<'ctx> Freeze for VmContext<'ctx>
impl<'ctx> RefUnwindSafe for VmContext<'ctx>
impl<'ctx> Send for VmContext<'ctx>
impl<'ctx> Sync for VmContext<'ctx>
impl<'ctx> Unpin for VmContext<'ctx>
impl<'ctx> UnwindSafe for VmContext<'ctx>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.