pub struct DiffElement {
pub old_index: Option<usize>,
pub new_index: Option<usize>,
}Fields§
§old_index: Option<usize>§new_index: Option<usize>Trait Implementations§
Source§impl Debug for DiffElement
impl Debug for DiffElement
Source§impl PartialEq for DiffElement
impl PartialEq for DiffElement
Source§fn eq(&self, other: &DiffElement) -> bool
fn eq(&self, other: &DiffElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiffElement
Auto Trait Implementations§
impl Freeze for DiffElement
impl RefUnwindSafe for DiffElement
impl Send for DiffElement
impl Sync for DiffElement
impl Unpin for DiffElement
impl UnsafeUnpin for DiffElement
impl UnwindSafe for DiffElement
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