pub struct PatchSink<'a> { /* private fields */ }Expand description
Collector for patch operations.
PatchSink collects operations that will be combined into a Patch.
It is used internally by StateRef types to automatically collect
all state modifications.
§Thread Safety
PatchSink uses a Mutex internally to support async contexts.
In single-threaded usage, the lock overhead is minimal.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PatchSink<'a>
impl<'a> !RefUnwindSafe for PatchSink<'a>
impl<'a> Send for PatchSink<'a>
impl<'a> Sync for PatchSink<'a>
impl<'a> Unpin for PatchSink<'a>
impl<'a> !UnwindSafe for PatchSink<'a>
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