Struct spirq::func::ExecutionMode
source · pub struct ExecutionMode {
pub exec_mode: ExecutionMode,
pub operands: Vec<Constant>,
}
Expand description
SPIR-V execution mode.
Fields§
§exec_mode: ExecutionMode
§operands: Vec<Constant>
Trait Implementations§
source§impl Clone for ExecutionMode
impl Clone for ExecutionMode
source§fn clone(&self) -> ExecutionMode
fn clone(&self) -> ExecutionMode
Returns a copy 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 ExecutionMode
impl Debug for ExecutionMode
source§impl Hash for ExecutionMode
impl Hash for ExecutionMode
source§impl PartialEq for ExecutionMode
impl PartialEq for ExecutionMode
source§fn eq(&self, other: &ExecutionMode) -> bool
fn eq(&self, other: &ExecutionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExecutionMode
impl StructuralPartialEq for ExecutionMode
Auto Trait Implementations§
impl Freeze for ExecutionMode
impl RefUnwindSafe for ExecutionMode
impl Send for ExecutionMode
impl Sync for ExecutionMode
impl Unpin for ExecutionMode
impl UnwindSafe for ExecutionMode
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