pub struct Resolution { /* private fields */ }Expand description
A design kept resolved: its last valid scene, where each of its nodes came from, and the files changed since it was last valid.
Implementations§
Source§impl Resolution
impl Resolution
Sourcepub fn new(files: &dyn Files, path: &str) -> Result<Resolution, Vec<Problem>>
pub fn new(files: &dyn Files, path: &str) -> Result<Resolution, Vec<Problem>>
The design at path resolved, or every problem it has.
Sourcepub fn wholes(&self) -> usize
pub fn wholes(&self) -> usize
How many times the scene was brought across whole since it was first resolved: by a comparison with a fresh resolve, where resolving parts of it again couldn’t.
Sourcepub fn update(&mut self, files: &dyn Files, changed: &[String]) -> Outcome
pub fn update(&mut self, files: &dyn Files, changed: &[String]) -> Outcome
The design after the files changed — as the store names them, a
folder’s listing by its path and a / — changed: what they reach
resolved again, and the scene brought across, or every problem the
design now has. A change while the design has problems is kept, and
the change that makes it valid again brings the scene across all of
them.
Trait Implementations§
Source§impl Clone for Resolution
impl Clone for Resolution
Auto Trait Implementations§
impl !RefUnwindSafe for Resolution
impl !UnwindSafe for Resolution
impl Freeze for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnsafeUnpin for Resolution
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