Function read_write_items_inout
pub extern fn read_write_items_inout<T, #uint N>(p: inout<[T; N]>) -> [(Option<T>, inv Option<T>); N]Use
inout<T>::read_write_itemsinstead
Expand
Returns a pair of output/input ports to interact with the items of an inout array.
This function provides exclusive I/O access each of the inout port items, so only one of those
operations can be performed at any given moment on any given item. For every item, when the
value at its input is set to Some(_), the port is driven and its output is None. When the
value at its input is set to None, the port is left in a high-impedance state and its output
is the incoming value Some(_).