pub struct StateSnapshot {
pub step: u64,
pub barrier_gen: u64,
pub actor: WorkItemId,
pub op: String,
pub registers: BTreeMap<String, i64>,
pub source_provenance: String,
pub source_mapping: Option<()>,
}Fields§
§step: u64§barrier_gen: u64§actor: WorkItemId§op: String§registers: BTreeMap<String, i64>§source_provenance: StringSoftGPU never invents source locations; this is the program provenance string only.
source_mapping: Option<()>Implementations§
Trait Implementations§
Source§impl Clone for StateSnapshot
impl Clone for StateSnapshot
Source§fn clone(&self) -> StateSnapshot
fn clone(&self) -> StateSnapshot
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 moreSource§impl Debug for StateSnapshot
impl Debug for StateSnapshot
Source§impl<'de> Deserialize<'de> for StateSnapshot
impl<'de> Deserialize<'de> for StateSnapshot
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
impl Eq for StateSnapshot
Source§impl PartialEq for StateSnapshot
impl PartialEq for StateSnapshot
Source§impl Serialize for StateSnapshot
impl Serialize for StateSnapshot
impl StructuralPartialEq for StateSnapshot
Auto Trait Implementations§
impl Freeze for StateSnapshot
impl RefUnwindSafe for StateSnapshot
impl Send for StateSnapshot
impl Sync for StateSnapshot
impl Unpin for StateSnapshot
impl UnsafeUnpin for StateSnapshot
impl UnwindSafe for StateSnapshot
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