pub struct HistoryResult<T> {
pub history: History<T>,
pub value: T,
}Expand description
The history after an undo or a redo and the record that it restored.
Fields§
§history: History<T>The history after the restore.
value: TThe restored record.
Trait Implementations§
Source§impl<T: Clone> Clone for HistoryResult<T>
impl<T: Clone> Clone for HistoryResult<T>
Source§fn clone(&self) -> HistoryResult<T>
fn clone(&self) -> HistoryResult<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for HistoryResult<T>
impl<T: Debug> Debug for HistoryResult<T>
Source§impl<T: PartialEq> PartialEq for HistoryResult<T>
impl<T: PartialEq> PartialEq for HistoryResult<T>
impl<T: PartialEq> StructuralPartialEq for HistoryResult<T>
Auto Trait Implementations§
impl<T> Freeze for HistoryResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for HistoryResult<T>where
T: RefUnwindSafe,
impl<T> Send for HistoryResult<T>where
T: Send,
impl<T> Sync for HistoryResult<T>where
T: Sync,
impl<T> Unpin for HistoryResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for HistoryResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for HistoryResult<T>where
T: 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