pub struct IrBatch {
pub commit_id: u64,
pub timestamp_ms: f64,
pub commands: Vec<IrCommand>,
}Expand description
A batch of IR commands from a single React commit. The engine processes these atomically.
Fields§
§commit_id: u64Monotonically increasing commit ID.
timestamp_ms: f64Timestamp (ms since app start).
commands: Vec<IrCommand>The commands to execute, in order.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IrBatch
impl<'de> Deserialize<'de> for IrBatch
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
Auto Trait Implementations§
impl Freeze for IrBatch
impl RefUnwindSafe for IrBatch
impl Send for IrBatch
impl Sync for IrBatch
impl Unpin for IrBatch
impl UnsafeUnpin for IrBatch
impl UnwindSafe for IrBatch
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