pub struct Previous<T> {
pub value: T,
pub source: Source,
}Expand description
What a set replaced.
Fields§
§value: TThe value in effect before.
source: SourceTrait Implementations§
impl<T: PartialEq> StructuralPartialEq for Previous<T>
Auto Trait Implementations§
impl<T> Forget for Previous<T>
impl<T> Freeze for Previous<T>where
T: Freeze,
impl<T> RefUnwindSafe for Previous<T>where
T: RefUnwindSafe,
impl<T> Send for Previous<T>where
T: Send,
impl<T> Sync for Previous<T>where
T: Sync,
impl<T> Unpin for Previous<T>where
T: Unpin,
impl<T> UnsafeUnpin for Previous<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Previous<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