pub enum TransformNodeIndex {
NodeIndex(NodeIndex),
DeferredIndex(DeferredIndex),
}
Expand description
Transforms can refer to nodes that already exist in the graph or nodes that don’t yet exist in the graph, but will be inserted in a previous transform.
Variants
NodeIndex(NodeIndex)
This node index refers to a pre-existing node in the graph.
DeferredIndex(DeferredIndex)
This node index refers to a node in the TransformList
that has not yet been
added to the graph.
Trait Implementations
sourceimpl Clone for TransformNodeIndex
impl Clone for TransformNodeIndex
sourcefn clone(&self) -> TransformNodeIndex
fn clone(&self) -> TransformNodeIndex
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TransformNodeIndex
impl Debug for TransformNodeIndex
sourceimpl Into<TransformNodeIndex> for DeferredIndex
impl Into<TransformNodeIndex> for DeferredIndex
sourcefn into(self) -> TransformNodeIndex
fn into(self) -> TransformNodeIndex
Converts this type into the (usually inferred) input type.
sourceimpl Into<TransformNodeIndex> for NodeIndex
impl Into<TransformNodeIndex> for NodeIndex
sourcefn into(self) -> TransformNodeIndex
fn into(self) -> TransformNodeIndex
Converts this type into the (usually inferred) input type.
impl Copy for TransformNodeIndex
Auto Trait Implementations
impl RefUnwindSafe for TransformNodeIndex
impl Send for TransformNodeIndex
impl Sync for TransformNodeIndex
impl Unpin for TransformNodeIndex
impl UnwindSafe for TransformNodeIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more