pub struct Broadcast {
pub surface: Symbol,
pub pane: Symbol,
pub scene: Expr,
pub diff: Expr,
}Expand description
One re-rendered Scene pushed to a surface/pane after a canonical edit.
diff is the Scene patch from the pane’s previously cached Scene to
scene; applying it with sim_lib_scene::apply reconstructs scene.
Fields§
§surface: SymbolThe surface that receives this update.
pane: SymbolThe pane on that surface.
scene: ExprThe full new Scene for the pane.
diff: ExprThe Scene patch from the pane’s prior Scene to scene.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Broadcast
impl RefUnwindSafe for Broadcast
impl Send for Broadcast
impl Sync for Broadcast
impl Unpin for Broadcast
impl UnsafeUnpin for Broadcast
impl UnwindSafe for Broadcast
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