pub enum StagePlacement {
Cpu(NodeConstraint),
Gpu(NodeConstraint),
}Expand description
Where a DSP stage should execute.
Variants§
Cpu(NodeConstraint)
Execute on CPU with an optional node constraint.
Gpu(NodeConstraint)
Execute on GPU with an optional node constraint.
Trait Implementations§
Source§impl Clone for StagePlacement
impl Clone for StagePlacement
Source§fn clone(&self) -> StagePlacement
fn clone(&self) -> StagePlacement
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 StagePlacement
impl Debug for StagePlacement
Auto Trait Implementations§
impl Freeze for StagePlacement
impl RefUnwindSafe for StagePlacement
impl Send for StagePlacement
impl Sync for StagePlacement
impl Unpin for StagePlacement
impl UnwindSafe for StagePlacement
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