pub struct ActionCoord {
pub window_ordinal: u32,
pub intent_ordinal: u32,
pub action_ordinal: u32,
}Expand description
确定性动作坐标。
不含 UUID、wall-clock 等运行时随机量,是单次 replay/run 内的 canonical
主键。window_ordinal 由驱动循环按窗口处理顺序赋号,用于消除跨窗口的
(intent_ordinal, action_ordinal) 碰撞。
Fields§
§window_ordinal: u32§intent_ordinal: u32§action_ordinal: u32Trait Implementations§
Source§impl Clone for ActionCoord
impl Clone for ActionCoord
Source§fn clone(&self) -> ActionCoord
fn clone(&self) -> ActionCoord
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 ActionCoord
impl Debug for ActionCoord
Source§impl<'de> Deserialize<'de> for ActionCoord
impl<'de> Deserialize<'de> for ActionCoord
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 Hash for ActionCoord
impl Hash for ActionCoord
Source§impl Ord for ActionCoord
impl Ord for ActionCoord
Source§fn cmp(&self, other: &ActionCoord) -> Ordering
fn cmp(&self, other: &ActionCoord) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActionCoord
impl PartialEq for ActionCoord
Source§impl PartialOrd for ActionCoord
impl PartialOrd for ActionCoord
Source§impl Serialize for ActionCoord
impl Serialize for ActionCoord
impl Copy for ActionCoord
impl Eq for ActionCoord
impl StructuralPartialEq for ActionCoord
Auto Trait Implementations§
impl Freeze for ActionCoord
impl RefUnwindSafe for ActionCoord
impl Send for ActionCoord
impl Sync for ActionCoord
impl Unpin for ActionCoord
impl UnsafeUnpin for ActionCoord
impl UnwindSafe for ActionCoord
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