Struct wu_diff::DiffElement
source · 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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DiffElement
Auto Trait Implementations§
impl RefUnwindSafe for DiffElement
impl Send for DiffElement
impl Sync for DiffElement
impl Unpin 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