pub struct RangeLimits {
pub min_v_freq_hz: u8,
pub max_v_freq_hz: u8,
pub min_h_freq_khz: u8,
pub max_h_freq_khz: u8,
pub max_pixel_clock_mhz: u16,
}Expand description
Monitor Range Limits Descriptor (type 0xFD)
Defines the operational limits of the display to help the graphics driver select valid timing modes withoyt reading the EDID string
Fields§
§min_v_freq_hz: u8Minimum vertical field rate (refresh rate) in Hz
max_v_freq_hz: u8Maximum vertical field rate (refresh rate) in Hz
min_h_freq_khz: u8Minimum horizontal line rate in kHz
max_h_freq_khz: u8Maximum horizontal line rate in kHz
max_pixel_clock_mhz: u16Maximum supported pixel clock in MHz (stored as tens of MHz in EDID, multiplied
bu 10 here)
Implementations§
Trait Implementations§
Source§impl Clone for RangeLimits
impl Clone for RangeLimits
Source§fn clone(&self) -> RangeLimits
fn clone(&self) -> RangeLimits
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 RangeLimits
impl Debug for RangeLimits
Source§impl<'de> Deserialize<'de> for RangeLimits
impl<'de> Deserialize<'de> for RangeLimits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RangeLimits
impl RefUnwindSafe for RangeLimits
impl Send for RangeLimits
impl Sync for RangeLimits
impl Unpin for RangeLimits
impl UnsafeUnpin for RangeLimits
impl UnwindSafe for RangeLimits
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more