pub struct CommandOutcome {
pub revision: u64,
pub inverse: ModelCommand,
pub changed: Vec<GlobalId>,
pub geometry_invalidated: Vec<GlobalId>,
}Expand description
What happened when a command was applied.
Fields§
§revision: u64The revision the model is at after applying.
inverse: ModelCommandThe command that undoes this one exactly.
changed: Vec<GlobalId>Elements whose state changed.
geometry_invalidated: Vec<GlobalId>Elements whose cached geometry is now stale.
Trait Implementations§
Source§impl Clone for CommandOutcome
impl Clone for CommandOutcome
Source§fn clone(&self) -> CommandOutcome
fn clone(&self) -> CommandOutcome
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 moreSource§impl Debug for CommandOutcome
impl Debug for CommandOutcome
Source§impl PartialEq for CommandOutcome
impl PartialEq for CommandOutcome
Source§fn eq(&self, other: &CommandOutcome) -> bool
fn eq(&self, other: &CommandOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandOutcome
Auto Trait Implementations§
impl Freeze for CommandOutcome
impl RefUnwindSafe for CommandOutcome
impl Send for CommandOutcome
impl Sync for CommandOutcome
impl Unpin for CommandOutcome
impl UnsafeUnpin for CommandOutcome
impl UnwindSafe for CommandOutcome
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