#[non_exhaustive]pub enum TypeIxStereoMode {
Mono,
Stereo,
MonoOrStereoByUser,
Reserved,
}Expand description
Stereo timing mode decoded from Type V (0x11) and Type IX (0x24) descriptor byte 0
bits 6:5. Indicates whether the timing is for a mono display, stereo-only, or
user-selectable.
This is distinct from StereoMode, which describes the specific stereo viewing method
decoded from a Detailed Timing Descriptor.
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.
Mono
Mono timing (bits 6:5 = 0b00).
Stereo
3D stereo timing (bits 6:5 = 0b01).
MonoOrStereoByUser
Mono or 3D stereo depending on user action (bits 6:5 = 0b10).
Reserved
Reserved (bits 6:5 = 0b11).
Trait Implementations§
Source§impl Clone for TypeIxStereoMode
impl Clone for TypeIxStereoMode
Source§fn clone(&self) -> TypeIxStereoMode
fn clone(&self) -> TypeIxStereoMode
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 TypeIxStereoMode
impl Debug for TypeIxStereoMode
Source§impl PartialEq for TypeIxStereoMode
impl PartialEq for TypeIxStereoMode
Source§fn eq(&self, other: &TypeIxStereoMode) -> bool
fn eq(&self, other: &TypeIxStereoMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TypeIxStereoMode
impl Eq for TypeIxStereoMode
impl StructuralPartialEq for TypeIxStereoMode
Auto Trait Implementations§
impl Freeze for TypeIxStereoMode
impl RefUnwindSafe for TypeIxStereoMode
impl Send for TypeIxStereoMode
impl Sync for TypeIxStereoMode
impl Unpin for TypeIxStereoMode
impl UnsafeUnpin for TypeIxStereoMode
impl UnwindSafe for TypeIxStereoMode
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