Epds isn't really needed
parent
6ca5d58919
commit
e439153862
18
src/epds.rs
18
src/epds.rs
|
|
@ -1,18 +0,0 @@
|
|||
/// A struct containing necessary info about a epd (electronic paper display). E.g:
|
||||
///
|
||||
/// - Width
|
||||
/// - Height
|
||||
/// ...
|
||||
///
|
||||
/// This needs to be implemented by each new Display
|
||||
pub(crate) struct EPD {
|
||||
pub(crate) width: u16,
|
||||
pub(crate) height: u16
|
||||
//displayrotation?
|
||||
}
|
||||
|
||||
impl EPD {
|
||||
pub(crate) fn new(width: u16, height: u16) -> EPD {
|
||||
EPD {width, height}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue