pub struct Process { /* fields omitted */ }
A process. Sequentially executes instructions to react to changes in input
signals. Implements control flow and timed execution.
Create a new process with the given name and type signature. Anonymous
arguments are created for each input and output in the type signature.
Use the inputs_mut
and outputs_mut
functions get a hold of these
arguments and assign names and additional data to them.
Obtain a reference to this process.
Get the name of the process.
Get a graph reference to one of the inputs of the entity.
Get a reference to the input arguments of the process.
Get a mutable reference to the input arguments of the process.
Get a graph reference to one of the outputs of the entity.
Get a reference to the output arguments of the process.
Get a mutable reference to the output arguments of the process.
pub fn body(&self) -> &SeqBody | [src] |
Get a reference to the sequential body of the process.
pub fn body_mut(&mut self) -> &mut SeqBody | [src] |
Get a mutable reference to the sequential body of the process.
Get the unique ID of the value.
Get the type of the value.
Get the optional name of the value.
Whether this value is global or not. Global values are considered during linking, and are visible in a module's symbol table. Local values are not, and are only visible within the surrounding context (module or unit). Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more