pub struct DisplayPipe {
pub pipe_id: u8,
pub width: u32,
pub height: u32,
pub refresh_rate: u32,
pub enabled: bool,
pub pixel_format: DisplayPixelFormat,
}Expand description
Display pipe configuration
Fields§
§pipe_id: u8Pipe index (0 = A, 1 = B, etc.)
width: u32Horizontal resolution
height: u32Vertical resolution
refresh_rate: u32Refresh rate in Hz
enabled: boolWhether the pipe is currently active
pixel_format: DisplayPixelFormatFramebuffer pixel format
Trait Implementations§
Source§impl Clone for DisplayPipe
impl Clone for DisplayPipe
Source§fn clone(&self) -> DisplayPipe
fn clone(&self) -> DisplayPipe
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DisplayPipe
impl RefUnwindSafe for DisplayPipe
impl Send for DisplayPipe
impl Sync for DisplayPipe
impl Unpin for DisplayPipe
impl UnwindSafe for DisplayPipe
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)