pub struct KernelValue {
pub kind: KernelValueKind,
pub class: KernelValueClass,
pub instruction: KernelInstruction,
}Expand description
Typed instruction and evaluation class for one kernel IR value.
Fields§
§kind: KernelValueKindValue shape and scalar representation.
class: KernelValueClassEvent-dependency class.
instruction: KernelInstructionInstruction that produces the value.
Trait Implementations§
Source§impl Clone for KernelValue
impl Clone for KernelValue
Source§fn clone(&self) -> KernelValue
fn clone(&self) -> KernelValue
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 moreAuto Trait Implementations§
impl Freeze for KernelValue
impl RefUnwindSafe for KernelValue
impl Send for KernelValue
impl Sync for KernelValue
impl Unpin for KernelValue
impl UnsafeUnpin for KernelValue
impl UnwindSafe for KernelValue
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