pub enum ChainOperand {
Input(u32),
Step(u32),
}Expand description
An operand inside a fused ChainStep — either a graph-level input
to the Op::ElementwiseRegion (by index 0..num_inputs) or the
result of a previous step in the chain (by index 0..step_position).
Variants§
Trait Implementations§
Source§impl Clone for ChainOperand
impl Clone for ChainOperand
Source§fn clone(&self) -> ChainOperand
fn clone(&self) -> ChainOperand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChainOperand
Source§impl Debug for ChainOperand
impl Debug for ChainOperand
impl Eq for ChainOperand
Source§impl Hash for ChainOperand
impl Hash for ChainOperand
Source§impl PartialEq for ChainOperand
impl PartialEq for ChainOperand
Source§fn eq(&self, other: &ChainOperand) -> bool
fn eq(&self, other: &ChainOperand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChainOperand
Auto Trait Implementations§
impl Freeze for ChainOperand
impl RefUnwindSafe for ChainOperand
impl Send for ChainOperand
impl Sync for ChainOperand
impl Unpin for ChainOperand
impl UnsafeUnpin for ChainOperand
impl UnwindSafe for ChainOperand
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