Struct loro_internal::delta::ValuePair
source · pub struct ValuePair<T> {
pub old: T,
pub new: T,
}Fields§
§old: T§new: TTrait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for ValuePair<T>where T: RefUnwindSafe,
impl<T> Send for ValuePair<T>where T: Send,
impl<T> Sync for ValuePair<T>where T: Sync,
impl<T> Unpin for ValuePair<T>where T: Unpin,
impl<T> UnwindSafe for ValuePair<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