pub enum Changed {
Nothing,
Step,
Run,
State,
Program,
Display,
}Expand description
What a command changed: what the editor runs, settles and shows again after it.
Variants§
Nothing
Step
The arguments of the step being edited.
Run
What runs: which steps, or up to where — or the program’s state, as a drag let go moved it, which is no edit to undo by itself.
State
Only the program’s state, as an event of a drag moves it: what it
moved is sent with the scene, and the program — its state, the
steps listed, the panels — once the drag is let go (Changed::Run).
Every event resending the whole program state grew with the
assembly, where one part moved.
Program
The program.
Display
How the program is shown (geop_core_program::program::Display):
an edit to undo, and to save with it, that runs nothing.
Trait Implementations§
impl Copy for Changed
impl Eq for Changed
impl StructuralPartialEq for Changed
Auto Trait Implementations§
impl Freeze for Changed
impl RefUnwindSafe for Changed
impl Send for Changed
impl Sync for Changed
impl Unpin for Changed
impl UnsafeUnpin for Changed
impl UnwindSafe for Changed
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