Support draw_pixel for both partial window strategies
This commit is contained in:
parent
42e71fe3bd
commit
32edbb8ce4
1 changed files with 6 additions and 4 deletions
10
src/lib.rs
10
src/lib.rs
|
|
@ -171,10 +171,6 @@ impl DoubleFrame<NoPartialWindow> {
|
|||
partial_window: NoPartialWindow,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn draw_pixel(&mut self, x: usize, y: usize, colour: PixelColour) {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
impl DoubleFrame<AutomaticPartialWindow> {
|
||||
|
|
@ -192,6 +188,12 @@ impl DoubleFrame<AutomaticPartialWindow> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<PartialWindow: ApplyPartialWindow> DoubleFrame<PartialWindow> {
|
||||
pub fn draw_pixel(&mut self, x: u16, y: u16, colour: PixelColour) {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
impl<BusyPin: InputPin, ResetPin: OutputPin, DcPin: OutputPin, Spi: SpiDevice, Delay: DelayNs>
|
||||
EPaperDisplay<BusyPin, ResetPin, DcPin, Spi, Delay>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue