pub struct NodeOp {
    pub idx: u8,
    pub node: Node,
    pub out_idxlen: (usize, usize),
    pub in_idxlen: (usize, usize),
    pub at_idxlen: (usize, usize),
    pub mod_idxlen: (usize, usize),
    pub inputs: Vec<(usize, usize, Option<usize>)>,
    pub in_connected: u64,
    pub out_connected: u64,
}
Expand description

Step in a NodeProg that stores the to be executed node and output operations.

Fields

idx: u8

Stores the index of the node

node: Node

Stores the reference to the node.

out_idxlen: (usize, usize)

Output index and length of the node:

in_idxlen: (usize, usize)

Input index and length of the node:

at_idxlen: (usize, usize)

Atom data index and length of the node:

mod_idxlen: (usize, usize)

ModOp index and length of the node:

inputs: Vec<(usize, usize, Option<usize>)>

Input indices, (, , (, ))

in_connected: u64

A bit mask which indicates which of the input ports are actually used/connected to some output.

out_connected: u64

A bit mask which indicates which of the output ports are actually used/connected to some input.

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.