pub struct PaneSemanticReplayFixture {
pub trace: PaneSemanticInputTrace,
pub expected_transitions: Vec<PaneDragResizeTransition>,
pub expected_final_state: PaneDragResizeState,
}Expand description
Golden fixture shape for replay conformance runs.
Fields§
§trace: PaneSemanticInputTrace§expected_transitions: Vec<PaneDragResizeTransition>§expected_final_state: PaneDragResizeStateImplementations§
Source§impl PaneSemanticReplayFixture
impl PaneSemanticReplayFixture
Sourcepub fn run(
&self,
machine: &mut PaneDragResizeMachine,
) -> Result<PaneSemanticReplayConformanceArtifact, PaneSemanticReplayError>
pub fn run( &self, machine: &mut PaneDragResizeMachine, ) -> Result<PaneSemanticReplayConformanceArtifact, PaneSemanticReplayError>
Run one replay fixture and emit structured conformance artifacts.
Trait Implementations§
Source§impl Clone for PaneSemanticReplayFixture
impl Clone for PaneSemanticReplayFixture
Source§fn clone(&self) -> PaneSemanticReplayFixture
fn clone(&self) -> PaneSemanticReplayFixture
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 PaneSemanticReplayFixture
impl Debug for PaneSemanticReplayFixture
Source§impl<'de> Deserialize<'de> for PaneSemanticReplayFixture
impl<'de> Deserialize<'de> for PaneSemanticReplayFixture
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 PaneSemanticReplayFixture
impl StructuralPartialEq for PaneSemanticReplayFixture
Auto Trait Implementations§
impl Freeze for PaneSemanticReplayFixture
impl RefUnwindSafe for PaneSemanticReplayFixture
impl Send for PaneSemanticReplayFixture
impl Sync for PaneSemanticReplayFixture
impl Unpin for PaneSemanticReplayFixture
impl UnsafeUnpin for PaneSemanticReplayFixture
impl UnwindSafe for PaneSemanticReplayFixture
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