pub enum OutputInfo {
ArrayWrite {
item: Item,
local: Id,
position: Variable,
has_extended_meta: bool,
},
InputArrayWrite {
item: Item,
input: Id,
local: Id,
position: Variable,
},
Array {
item: Item,
has_extended_meta: bool,
},
}
Expand description
Information related to an output.
Variants§
ArrayWrite
Write the local variable to a new array.
This will create a new binding in the kernel definition.
Fields
InputArrayWrite
Write the local variable to an existing input binding.
Array
Simply register the output, but don’t automatically add a write to it.
Useful when a procedure writes to the output using operations.
Implementations§
Trait Implementations§
Source§impl Clone for OutputInfo
impl Clone for OutputInfo
Source§fn clone(&self) -> OutputInfo
fn clone(&self) -> OutputInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for OutputInfo
impl RefUnwindSafe for OutputInfo
impl Send for OutputInfo
impl Sync for OutputInfo
impl Unpin for OutputInfo
impl UnwindSafe for OutputInfo
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