pub enum ViewDelta {
None,
Add {
key: String,
entity: Value,
},
Remove {
key: String,
},
Update {
key: String,
entity: Value,
},
}Expand description
Delta representing a change to a client’s windowed view
Variants§
None
No change to the client’s window
Add
Entity was added to the window
Remove
Entity was removed from the window
Update
Entity in the window was updated
Trait Implementations§
impl StructuralPartialEq for ViewDelta
Auto Trait Implementations§
impl Freeze for ViewDelta
impl RefUnwindSafe for ViewDelta
impl Send for ViewDelta
impl Sync for ViewDelta
impl Unpin for ViewDelta
impl UnwindSafe for ViewDelta
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