pub struct Applied {
pub removed: Vec<NodeId>,
pub placed: Vec<NodeId>,
pub changed: Vec<(NodeId, Node)>,
}Expand description
What edits did, by id, for a drawing kept beside the scene to follow: the subtrees that left their place — removed, or moved away — the subtrees placed — inserted, or moved here — and the nodes that kept their place and took new own attributes, with the ones they had.
Fields§
§removed: Vec<NodeId>The roots of the subtrees that left their place: removed, or moved away.
placed: Vec<NodeId>The roots of the subtrees placed: inserted, or moved here.
changed: Vec<(NodeId, Node)>The nodes that kept their place and took new own attributes, each with the node it was.
Trait Implementations§
impl StructuralPartialEq for Applied
Auto Trait Implementations§
impl Forget for Applied
impl Freeze for Applied
impl Move for Applied
impl RefUnwindSafe for Applied
impl Send for Applied
impl Sync for Applied
impl Unpin for Applied
impl UnsafeUnpin for Appliedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<NodeId>: UnsafeUnpin,
PhantomData<(NodeId, Node)>: UnsafeUnpin,
impl UnwindSafe for Applied
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