pub struct SnapshotHelper;Expand description
Stable snapshot rendering helpers for harness output.
Implementations§
Source§impl SnapshotHelper
impl SnapshotHelper
pub fn normalize_text(value: &str) -> String
pub fn render_run(run: &HarnessRun) -> String
Auto Trait Implementations§
impl Freeze for SnapshotHelper
impl RefUnwindSafe for SnapshotHelper
impl Send for SnapshotHelper
impl Sync for SnapshotHelper
impl Unpin for SnapshotHelper
impl UnsafeUnpin for SnapshotHelper
impl UnwindSafe for SnapshotHelper
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