pub struct ProbeStep {
pub msg: String,
pub vertices: usize,
pub changed: bool,
pub state: Value,
}Expand description
One scripted update_json step against a facet: the message applied, the
vertex count of the re-render after it, and whether state_json changed.
Fields§
§msg: StringThe JSON message string handed to Facet::update_json.
vertices: usizeTessellated vertices of the re-render after this message.
changed: boolDid this message move state_json (a live, input-responsive pane)?
state: ValueThe pane’s full state_json snapshot after this message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProbeStep
impl RefUnwindSafe for ProbeStep
impl Send for ProbeStep
impl Sync for ProbeStep
impl Unpin for ProbeStep
impl UnsafeUnpin for ProbeStep
impl UnwindSafe for ProbeStep
Blanket Implementations§
impl<T> Allocation for T
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