pub struct Edits {
pub list: Vec<Edit>,
pub images: ImageFiles,
pub fonts: FontFiles,
pub themed: bool,
}Expand description
Edits with the image and font files they bring: everything that takes a scene to the next. Of the files, only those the scene before didn’t hold — each travels once.
Fields§
§list: Vec<Edit>§images: ImageFiles§fonts: FontFiles§themed: boolWhether the scene they make is themed.
Implementations§
Source§impl Edits
impl Edits
Sourcepub fn between(old: &Scene, new: &Scene) -> Edits
pub fn between(old: &Scene, new: &Scene) -> Edits
The edits that turn old into new, by their nodes’ ids: an insert
before the first of 100,000 siblings is one insert. It compares the
two scenes whole; a design resolved again finds most edits without
one, from what a save reached.
Trait Implementations§
impl StructuralPartialEq for Edits
Auto Trait Implementations§
impl !RefUnwindSafe for Edits
impl !UnwindSafe for Edits
impl Freeze for Edits
impl Send for Edits
impl Sync for Edits
impl Unpin for Edits
impl UnsafeUnpin for Edits
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