pub struct Edit<D> {
pub old: Range<D>,
pub new: Range<D>,
}
Fields§
§old: Range<D>
§new: Range<D>
Implementations§
Trait Implementations§
source§impl<D> PartialEq<Edit<D>> for Edit<D>where
D: PartialEq<D>,
impl<D> PartialEq<Edit<D>> for Edit<D>where D: PartialEq<D>,
impl<D> Eq for Edit<D>where D: Eq,
impl<D> StructuralEq for Edit<D>
impl<D> StructuralPartialEq for Edit<D>
Auto Trait Implementations§
impl<D> RefUnwindSafe for Edit<D>where D: RefUnwindSafe,
impl<D> Send for Edit<D>where D: Send,
impl<D> Sync for Edit<D>where D: Sync,
impl<D> Unpin for Edit<D>where D: Unpin,
impl<D> UnwindSafe for Edit<D>where D: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.