Struct makeup::test::diff::DrawCommandDiff
source · pub struct DrawCommandDiff {
pub expected: Vec<DrawCommand>,
pub actual: Vec<DrawCommand>,
pub diff: Vec<DiffLine>,
}
Fields§
§expected: Vec<DrawCommand>
§actual: Vec<DrawCommand>
§diff: Vec<DiffLine>
Implementations§
source§impl DrawCommandDiff
impl DrawCommandDiff
pub fn new(expected: Vec<DrawCommand>, actual: Vec<DrawCommand>) -> Self
pub fn is_empty(&self) -> bool
pub async fn render(&self) -> Result<()>
pub async fn into_visual_diff(&self) -> Result<VisualDiff>
Auto Trait Implementations§
impl RefUnwindSafe for DrawCommandDiff
impl Send for DrawCommandDiff
impl Sync for DrawCommandDiff
impl Unpin for DrawCommandDiff
impl UnwindSafe for DrawCommandDiff
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