pub struct EditorSnapshot {
pub recipe_name: String,
pub recipe_description: String,
pub nodes: Vec<EditorNode>,
}Expand description
A snapshot of editor state for undo/redo.
Fields§
§recipe_name: String§recipe_description: String§nodes: Vec<EditorNode>Trait Implementations§
Source§impl Clone for EditorSnapshot
impl Clone for EditorSnapshot
Source§fn clone(&self) -> EditorSnapshot
fn clone(&self) -> EditorSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 EditorSnapshot
impl Debug for EditorSnapshot
Source§impl PartialEq for EditorSnapshot
impl PartialEq for EditorSnapshot
impl StructuralPartialEq for EditorSnapshot
Auto Trait Implementations§
impl Freeze for EditorSnapshot
impl RefUnwindSafe for EditorSnapshot
impl Send for EditorSnapshot
impl Sync for EditorSnapshot
impl Unpin for EditorSnapshot
impl UnsafeUnpin for EditorSnapshot
impl UnwindSafe for EditorSnapshot
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