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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)