pub enum PipelineOps {
MemCopyAsync {
pipeline: Variable,
source: Variable,
destination: Variable,
},
ProducerAcquire {
pipeline: Variable,
},
ProducerCommit {
pipeline: Variable,
},
ConsumerWait {
pipeline: Variable,
},
ConsumerRelease {
pipeline: Variable,
},
}
Expand description
Operations available on a pipeline
Variants§
MemCopyAsync
Copy source to destination
ProducerAcquire
Reserves a specific stage for the producer to work on.
ProducerCommit
Signals that the producer is done and the stage is ready for the consumer.
ConsumerWait
Waits until the producer has finished with the stage.
ConsumerRelease
Frees the stage after the consumer is done using it.
Trait Implementations§
Source§impl Clone for PipelineOps
impl Clone for PipelineOps
Source§fn clone(&self) -> PipelineOps
fn clone(&self) -> PipelineOps
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 moreSource§impl Debug for PipelineOps
impl Debug for PipelineOps
Source§impl<'de> Deserialize<'de> for PipelineOps
impl<'de> Deserialize<'de> for PipelineOps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PipelineOps
impl Display for PipelineOps
Source§impl From<<PipelineOps as OperationReflect>::OpCode> for OpCode
impl From<<PipelineOps as OperationReflect>::OpCode> for OpCode
Source§fn from(value: <PipelineOps as OperationReflect>::OpCode) -> Self
fn from(value: <PipelineOps as OperationReflect>::OpCode) -> Self
Converts to this type from the input type.
Source§impl From<PipelineOps> for Instruction
impl From<PipelineOps> for Instruction
Source§fn from(value: PipelineOps) -> Self
fn from(value: PipelineOps) -> Self
Converts to this type from the input type.
Source§impl From<PipelineOps> for Operation
impl From<PipelineOps> for Operation
Source§fn from(value: PipelineOps) -> Self
fn from(value: PipelineOps) -> Self
Converts to this type from the input type.
Source§impl Hash for PipelineOps
impl Hash for PipelineOps
Source§impl OperationReflect for PipelineOps
impl OperationReflect for PipelineOps
Source§type OpCode = PipelineOpCode
type OpCode = PipelineOpCode
Type of the op codes for this operation
Source§fn args(&self) -> Option<Vec<Variable>>
fn args(&self) -> Option<Vec<Variable>>
Get the list of arguments for this operation. If not all arguments are
Variable
, returns
None
instead.Source§fn from_code_and_args(op_code: Self::OpCode, args: &[Variable]) -> Option<Self>
fn from_code_and_args(op_code: Self::OpCode, args: &[Variable]) -> Option<Self>
Create typed operation from an opcode and a list of arguments. Returns
None
if not all
arguments are Variable
.Source§fn is_commutative(&self) -> bool
fn is_commutative(&self) -> bool
Whether this operation is commutative (arguments can be freely reordered). Ignored for
single argument operations.
Source§impl PartialEq for PipelineOps
impl PartialEq for PipelineOps
Source§impl Serialize for PipelineOps
impl Serialize for PipelineOps
Source§impl TypeHash for PipelineOps
impl TypeHash for PipelineOps
impl Eq for PipelineOps
impl StructuralPartialEq for PipelineOps
Auto Trait Implementations§
impl Freeze for PipelineOps
impl RefUnwindSafe for PipelineOps
impl Send for PipelineOps
impl Sync for PipelineOps
impl Unpin for PipelineOps
impl UnwindSafe for PipelineOps
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