pub enum NodeGraphStoreEvent<'a> {
DocumentReplaced {
before: NodeGraphDocumentSnapshot<'a>,
after: NodeGraphDocumentSnapshot<'a>,
},
GraphCommitted {
patch: &'a NodeGraphPatch,
},
ViewChanged {
before: &'a NodeGraphViewState,
after: &'a NodeGraphViewState,
changes: &'a [ViewChange],
},
}Expand description
Store event emitted to subscribers.
Variants§
Trait Implementations§
Source§impl<'a> Clone for NodeGraphStoreEvent<'a>
impl<'a> Clone for NodeGraphStoreEvent<'a>
Source§fn clone(&self) -> NodeGraphStoreEvent<'a>
fn clone(&self) -> NodeGraphStoreEvent<'a>
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 moreimpl<'a> Copy for NodeGraphStoreEvent<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeGraphStoreEvent<'a>
impl<'a> RefUnwindSafe for NodeGraphStoreEvent<'a>
impl<'a> Send for NodeGraphStoreEvent<'a>
impl<'a> Sync for NodeGraphStoreEvent<'a>
impl<'a> Unpin for NodeGraphStoreEvent<'a>
impl<'a> UnsafeUnpin for NodeGraphStoreEvent<'a>
impl<'a> UnwindSafe for NodeGraphStoreEvent<'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