#[non_exhaustive]pub struct DynamicTimingRange {
pub min_pixel_clock_khz: u32,
pub max_pixel_clock_khz: u32,
pub min_v_rate_hz: u8,
pub max_v_rate_hz: u16,
pub vrr_supported: bool,
}Expand description
Dynamic video timing range decoded from DisplayID 2.x block 0x25.
Pixel clocks are in 1 kHz steps; vertical refresh rates cover the full 9-bit range introduced in block revision 1.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.min_pixel_clock_khz: u32Minimum pixel clock in kHz (3-byte LE field).
max_pixel_clock_khz: u32Maximum pixel clock in kHz (3-byte LE field).
min_v_rate_hz: u8Minimum vertical refresh rate in Hz.
max_v_rate_hz: u16Maximum vertical refresh rate in Hz (9-bit value; upper 2 bits from revision-1 flag byte).
vrr_supported: boolSeamless variable refresh rate supported (fixed H pixel rate, dynamic V blanking).
Trait Implementations§
Source§impl Clone for DynamicTimingRange
impl Clone for DynamicTimingRange
Source§fn clone(&self) -> DynamicTimingRange
fn clone(&self) -> DynamicTimingRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DynamicTimingRange
impl Debug for DynamicTimingRange
Source§impl Default for DynamicTimingRange
impl Default for DynamicTimingRange
Source§fn default() -> DynamicTimingRange
fn default() -> DynamicTimingRange
Returns the “default value” for a type. Read more
Source§impl PartialEq for DynamicTimingRange
impl PartialEq for DynamicTimingRange
Source§fn eq(&self, other: &DynamicTimingRange) -> bool
fn eq(&self, other: &DynamicTimingRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DynamicTimingRange
impl Eq for DynamicTimingRange
impl StructuralPartialEq for DynamicTimingRange
Auto Trait Implementations§
impl Freeze for DynamicTimingRange
impl RefUnwindSafe for DynamicTimingRange
impl Send for DynamicTimingRange
impl Sync for DynamicTimingRange
impl Unpin for DynamicTimingRange
impl UnsafeUnpin for DynamicTimingRange
impl UnwindSafe for DynamicTimingRange
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