pub struct LtdcLayerConfig {
pub layer: LtdcLayer,
pub pixel_format: PixelFormat,
pub window_x0: u16,
pub window_x1: u16,
pub window_y0: u16,
pub window_y1: u16,
}
Expand description
Layer
Fields§
§layer: LtdcLayer
Layer number
pixel_format: PixelFormat
Pixel format
window_x0: u16
Window left x in pixels
window_x1: u16
Window right x in pixels
window_y0: u16
Window top y in pixels
window_y1: u16
Window bottom y in pixels
Trait Implementations§
Source§impl Clone for LtdcLayerConfig
impl Clone for LtdcLayerConfig
Source§fn clone(&self) -> LtdcLayerConfig
fn clone(&self) -> LtdcLayerConfig
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 LtdcLayerConfig
impl Debug for LtdcLayerConfig
Source§impl Format for LtdcLayerConfig
impl Format for LtdcLayerConfig
Source§impl PartialEq for LtdcLayerConfig
impl PartialEq for LtdcLayerConfig
impl Copy for LtdcLayerConfig
impl Eq for LtdcLayerConfig
impl StructuralPartialEq for LtdcLayerConfig
Auto Trait Implementations§
impl Freeze for LtdcLayerConfig
impl RefUnwindSafe for LtdcLayerConfig
impl Send for LtdcLayerConfig
impl Sync for LtdcLayerConfig
impl Unpin for LtdcLayerConfig
impl UnwindSafe for LtdcLayerConfig
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