Enum linux_video_core::Field
source · #[non_exhaustive]#[repr(u32)]pub enum Field {
Any,
None,
Top,
Bottom,
Interlaced,
SequentialTb,
SequentialBt,
Alternate,
InterlacedTb,
InterlacedBt,
}
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
Driver can choose from none, top, bottom, interlaced depending on whatever it thinks is approximate
None
This device has no fields
Top
Top field only
Bottom
Bottom field only
Interlaced
Both fields interlaced
SequentialTb
Both fields sequential into one buffer, top-bottom order
SequentialBt
Same as above + bottom-top order
Alternate
Both fields alternating into separate buffers
InterlacedTb
Both fields interlaced, top field first and the top field is transmitted first
InterlacedBt
Both fields interlaced, top field first and the bottom field is transmitted first
Implementations§
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl PartialEq<Field> for Field
impl PartialEq<Field> for Field
impl Copy for Field
impl Eq for Field
impl StructuralEq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
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