pub struct OutputParam<DataType> {
pub id: OutputId,
pub node: NodeId,
pub typ: DataType,
}
Expand description
An output parameter. Output parameters are inside a node, and represent the
data that the node produces. Output parameters can be linked to the input
parameters of other nodes. Unlike an InputParam
, output parameters
cannot have a constant inline value.
Fields§
§id: OutputId
§node: NodeId
Back-reference to the node containing this parameter.
typ: DataType
Trait Implementations§
Source§impl<DataType: Clone> Clone for OutputParam<DataType>
impl<DataType: Clone> Clone for OutputParam<DataType>
Source§fn clone(&self) -> OutputParam<DataType>
fn clone(&self) -> OutputParam<DataType>
Returns a duplicate 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<DataType> Freeze for OutputParam<DataType>where
DataType: Freeze,
impl<DataType> RefUnwindSafe for OutputParam<DataType>where
DataType: RefUnwindSafe,
impl<DataType> Send for OutputParam<DataType>where
DataType: Send,
impl<DataType> Sync for OutputParam<DataType>where
DataType: Sync,
impl<DataType> Unpin for OutputParam<DataType>where
DataType: Unpin,
impl<DataType> UnwindSafe for OutputParam<DataType>where
DataType: UnwindSafe,
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