pub struct DisplayConfiguration {
pub active_width: u16,
pub active_height: u16,
pub h_back_porch: u16,
pub h_front_porch: u16,
pub v_back_porch: u16,
pub v_front_porch: u16,
pub h_sync: u16,
pub v_sync: u16,
pub h_sync_pol: bool,
pub v_sync_pol: bool,
pub not_data_enable_pol: bool,
pub pixel_clock_pol: bool,
}
Expand description
Display configuration parameters
Fields§
§active_width: u16
§active_height: u16
§h_back_porch: u16
§h_front_porch: u16
§v_back_porch: u16
§v_front_porch: u16
§h_sync: u16
§v_sync: u16
§h_sync_pol: bool
horizontal synchronization: false
: active low, true
: active high
v_sync_pol: bool
vertical synchronization: false
: active low, true
: active high
not_data_enable_pol: bool
data enable: false
: active low, true
: active high
pixel_clock_pol: bool
pixel_clock: false
: active low, true
: active high
Trait Implementations§
source§impl Clone for DisplayConfiguration
impl Clone for DisplayConfiguration
source§fn clone(&self) -> DisplayConfiguration
fn clone(&self) -> DisplayConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DisplayConfiguration
impl Debug for DisplayConfiguration
source§impl PartialEq for DisplayConfiguration
impl PartialEq for DisplayConfiguration
source§fn eq(&self, other: &DisplayConfiguration) -> bool
fn eq(&self, other: &DisplayConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayConfiguration
impl StructuralPartialEq for DisplayConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for DisplayConfiguration
impl Send for DisplayConfiguration
impl Sync for DisplayConfiguration
impl Unpin for DisplayConfiguration
impl UnwindSafe for DisplayConfiguration
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