pub struct TraceReplaySupport {
pub checkpoints: bool,
pub mutations: bool,
pub child_list_positions: bool,
pub live_state: bool,
pub identifiers: bool,
}Expand description
What a bundle’s records let a viewer reproduce.
Issue #93 asked for the viewer to stop claiming more than it can do. Saying it in the manifest is better than saying it in the viewer’s markup: a bundle recorded by an older version is honestly described by its own manifest, and any of the three readers can tell a caller what they are looking at.
Fields§
§checkpoints: boolCheckpoints are snapshots, always replayable.
mutations: boolDOM mutations are recorded between checkpoints.
child_list_positions: boolChild-list records say where a node went, so removals and moves replay.
live_state: boolTyping, checking, selecting, focus and scroll are recorded live.
identifiers: boolEvery record names the context, page, navigation and frame it is from.
Trait Implementations§
Source§impl Clone for TraceReplaySupport
impl Clone for TraceReplaySupport
Source§fn clone(&self) -> TraceReplaySupport
fn clone(&self) -> TraceReplaySupport
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 TraceReplaySupport
impl Debug for TraceReplaySupport
Source§impl Default for TraceReplaySupport
impl Default for TraceReplaySupport
Source§impl<'de> Deserialize<'de> for TraceReplaySupport
impl<'de> Deserialize<'de> for TraceReplaySupport
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 TraceReplaySupport
Source§impl PartialEq for TraceReplaySupport
impl PartialEq for TraceReplaySupport
Source§impl Serialize for TraceReplaySupport
impl Serialize for TraceReplaySupport
impl StructuralPartialEq for TraceReplaySupport
Auto Trait Implementations§
impl Freeze for TraceReplaySupport
impl RefUnwindSafe for TraceReplaySupport
impl Send for TraceReplaySupport
impl Sync for TraceReplaySupport
impl Unpin for TraceReplaySupport
impl UnsafeUnpin for TraceReplaySupport
impl UnwindSafe for TraceReplaySupport
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