#[non_exhaustive]#[repr(u32)]pub enum Field {
Any = 0,
None = 1,
Top = 2,
Bottom = 3,
Interlaced = 4,
SequentialTb = 5,
SequentialBt = 6,
Alternate = 7,
InterlacedTb = 8,
InterlacedBt = 9,
}
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.
Any = 0
Driver can choose from none, top, bottom, interlaced depending on whatever it thinks is approximate
None = 1
This device has no fields
Top = 2
Top field only
Bottom = 3
Bottom field only
Interlaced = 4
Both fields interlaced
SequentialTb = 5
Both fields sequential into one buffer, top-bottom order
SequentialBt = 6
Same as above + bottom-top order
Alternate = 7
Both fields alternating into separate buffers
InterlacedTb = 8
Both fields interlaced, top field first and the top field is transmitted first
InterlacedBt = 9
Both fields interlaced, top field first and the bottom field is transmitted first
Implementations§
Trait Implementations§
impl Copy for Field
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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