sketch out the interface for two future functions

This commit is contained in:
Wez Furlong committed 2018-07-14 08:00:50 -07:00
1 parent c63d17b1cc
commit 666af3ff3e
1 file changed
+13
+13
View File
@@ -383,6 +383,19 @@ impl Screen {
result
}
/// Computes the change stream required to make `self` have the same
/// screen contents as `other`.
pub fn diff_screens(&self, _other: &Screen) -> Vec<Change> {
unimplemented!()
}
/// Draw the contents of `other` into self at the specified coordinates.
/// The required updates are recorded as Change entries as well as stored
/// in the screen line/cell data.
pub fn draw_from_screen(&mut self, _other: &Screen, _x: usize, _y: usize) {
unimplemented!()
}
}
/// Applies a Position update to either the x or y position.