mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
more changes to the displaydimension trait
This commit is contained in:
@@ -21,8 +21,8 @@ impl Default for DisplayEink4in2BlackWhite {
|
||||
}
|
||||
|
||||
impl DisplayDimension for DisplayEink4in2BlackWhite {
|
||||
fn buffer(&self) -> &[u8] {
|
||||
&self.buffer
|
||||
fn buffer(&mut self) -> &mut [u8] {
|
||||
&mut self.buffer
|
||||
}
|
||||
fn width(&self) -> u32 {
|
||||
self.width
|
||||
|
||||
Reference in New Issue
Block a user