#[non_exhaustive]pub enum StereoMode {
None,
FieldSequentialRightFirst,
FieldSequentialLeftFirst,
TwoWayInterleavedRightEven,
TwoWayInterleavedLeftEven,
FourWayInterleaved,
SideBySideInterleaved,
}Expand description
Stereo viewing support decoded from DTD byte 17 bits 6, 5, and 0.
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.
None
Normal display; no stereo (bits 6–5 = 0b00; bit 0 is don’t-care).
FieldSequentialRightFirst
Field-sequential stereo, right image when stereo sync = 1 (bits 6–5 = 0b01, bit 0 = 0).
FieldSequentialLeftFirst
Field-sequential stereo, left image when stereo sync = 1 (bits 6–5 = 0b10, bit 0 = 0).
TwoWayInterleavedRightEven
2-way interleaved stereo, right image on even lines (bits 6–5 = 0b01, bit 0 = 1).
TwoWayInterleavedLeftEven
2-way interleaved stereo, left image on even lines (bits 6–5 = 0b10, bit 0 = 1).
FourWayInterleaved
4-way interleaved stereo (bits 6–5 = 0b11, bit 0 = 0).
SideBySideInterleaved
Side-by-side interleaved stereo (bits 6–5 = 0b11, bit 0 = 1).
Trait Implementations§
Source§impl Clone for StereoMode
impl Clone for StereoMode
Source§fn clone(&self) -> StereoMode
fn clone(&self) -> StereoMode
Returns a duplicate of the value. Read more
1.0.0 · 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 StereoMode
impl Debug for StereoMode
Source§impl Default for StereoMode
impl Default for StereoMode
Source§fn default() -> StereoMode
fn default() -> StereoMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for StereoMode
impl PartialEq for StereoMode
impl Copy for StereoMode
impl Eq for StereoMode
impl StructuralPartialEq for StereoMode
Auto Trait Implementations§
impl Freeze for StereoMode
impl RefUnwindSafe for StereoMode
impl Send for StereoMode
impl Sync for StereoMode
impl Unpin for StereoMode
impl UnsafeUnpin for StereoMode
impl UnwindSafe for StereoMode
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