pub enum StateDifference {
Changed {
path: String,
left: StateObject,
right: StateObject,
},
OnlyLeft(StateObject),
OnlyRight(StateObject),
}Expand description
A state object whose saved values differ between two files.
Variants§
Changed
Present in both files with a different width or value.
OnlyLeft(StateObject)
Present only in the left file.
OnlyRight(StateObject)
Present only in the right file.
Trait Implementations§
Source§impl Clone for StateDifference
impl Clone for StateDifference
Source§impl Debug for StateDifference
impl Debug for StateDifference
impl Eq for StateDifference
Source§impl PartialEq for StateDifference
impl PartialEq for StateDifference
impl StructuralPartialEq for StateDifference
Auto Trait Implementations§
impl Freeze for StateDifference
impl RefUnwindSafe for StateDifference
impl Send for StateDifference
impl Sync for StateDifference
impl Unpin for StateDifference
impl UnsafeUnpin for StateDifference
impl UnwindSafe for StateDifference
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