pub struct LcdConfig {
pub width: u16,
pub height: u16,
pub pixel_format: PixelFormat,
pub fps: u16,
pub interface: InterfaceType,
pub orientation: u16,
pub vsync: bool,
pub buffering: BufferingMode,
pub backlight: bool,
pub tearing_effect: bool,
pub bus_hz: u32,
pub controller: ControllerModel,
}Fields§
§width: u16§height: u16§pixel_format: PixelFormat§fps: u16§interface: InterfaceType§orientation: u16§vsync: bool§buffering: BufferingMode§backlight: bool§tearing_effect: bool§bus_hz: u32§controller: ControllerModelImplementations§
Source§impl LcdConfig
impl LcdConfig
pub fn frame_interval(&self) -> Duration
pub fn full_frame_bytes(&self) -> usize
Trait Implementations§
impl Eq for LcdConfig
impl StructuralPartialEq for LcdConfig
Auto Trait Implementations§
impl Freeze for LcdConfig
impl RefUnwindSafe for LcdConfig
impl Send for LcdConfig
impl Sync for LcdConfig
impl Unpin for LcdConfig
impl UnsafeUnpin for LcdConfig
impl UnwindSafe for LcdConfig
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