pub struct Effect {
pub inputs: StackType,
pub outputs: StackType,
}Expand description
Stack effect: transformation from input stack to output stack Example: ( ..a Int – ..a Bool ) means:
- Consumes an Int from stack with ..a underneath
- Produces a Bool on stack with ..a underneath
Fields§
§inputs: StackTypeInput stack type (before word executes)
outputs: StackTypeOutput stack type (after word executes)
Implementations§
Trait Implementations§
impl Eq for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnwindSafe for Effect
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