#[non_exhaustive]pub enum StereoTimingScopeV2 {
ExplicitTimingsOnly,
ExplicitAndListedTimings,
AllListedTimings,
ListedTimingCodesOnly,
}Expand description
Scope of the timings to which a 2.x Stereo Display Interface block (0x27) applies.
Encoded in bits 7:6 of the block’s revision/flags byte. Variants ExplicitAndListedTimings
and ListedTimingCodesOnly indicate that the block carries an inline list of timing codes
(DMT/VIC/HDMI VIC); those codes are decoded into
DisplayIdStereoInterfaceV2::timing_codes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExplicitTimingsOnly
Applies only to timings that explicitly report 3D capability.
ExplicitAndListedTimings
Applies to explicit-3D timings AND the timing codes listed in this block.
AllListedTimings
Applies to all listed timings.
ListedTimingCodesOnly
Applies only to the timing codes listed in this block.
Implementations§
Source§impl StereoTimingScopeV2
impl StereoTimingScopeV2
Sourcepub fn from_revision(revision: u8) -> Self
pub fn from_revision(revision: u8) -> Self
Decodes the scope from bits 7:6 of the block’s revision byte.
Sourcepub fn has_timing_codes(self) -> bool
pub fn has_timing_codes(self) -> bool
Returns true when the block payload includes an inline timing-code list.
Trait Implementations§
Source§impl Clone for StereoTimingScopeV2
impl Clone for StereoTimingScopeV2
Source§fn clone(&self) -> StereoTimingScopeV2
fn clone(&self) -> StereoTimingScopeV2
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 StereoTimingScopeV2
impl Debug for StereoTimingScopeV2
Source§impl PartialEq for StereoTimingScopeV2
impl PartialEq for StereoTimingScopeV2
Source§fn eq(&self, other: &StereoTimingScopeV2) -> bool
fn eq(&self, other: &StereoTimingScopeV2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StereoTimingScopeV2
impl Eq for StereoTimingScopeV2
impl StructuralPartialEq for StereoTimingScopeV2
Auto Trait Implementations§
impl Freeze for StereoTimingScopeV2
impl RefUnwindSafe for StereoTimingScopeV2
impl Send for StereoTimingScopeV2
impl Sync for StereoTimingScopeV2
impl Unpin for StereoTimingScopeV2
impl UnsafeUnpin for StereoTimingScopeV2
impl UnwindSafe for StereoTimingScopeV2
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