#[non_exhaustive]pub enum Stereo {
Mono,
LeftRight,
TopBottom,
Unknown(String),
}Expand description
How a rendition packs each eye’s view into its frames.
Absent means Mono. An unrecognized value decodes to
Stereo::Unknown instead of failing, and a consumer treats it as absent.
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
One view, shown to both eyes.
LeftRight
The left eye’s view in the left half of each frame, the right eye’s in the right half.
TopBottom
The left eye’s view in the top half of each frame, the right eye’s in the bottom half.
Unknown(String)
A packing this build does not recognize, preserved verbatim.
Trait Implementations§
impl Eq for Stereo
impl StructuralPartialEq for Stereo
Auto Trait Implementations§
impl Freeze for Stereo
impl RefUnwindSafe for Stereo
impl Send for Stereo
impl Sync for Stereo
impl Unpin for Stereo
impl UnsafeUnpin for Stereo
impl UnwindSafe for Stereo
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.