Enum v4l::format::field::FieldOrder
source · #[repr(u32)]pub enum FieldOrder {
Any = 0,
Progressive = 1,
Top = 2,
Bottom = 3,
Interlaced = 4,
SequentialTB = 5,
SequentialBT = 6,
Alternate = 7,
InterlacedTB = 8,
InterlacedBT = 9,
}
Expand description
Represents how fields are interlaced (if they are)
Variants§
Any = 0
Progressive, Top, Bottom, or Interlaced is acceptable; driver will pick one
Progressive = 1
progressive, not interlaced
Top = 2
top, or odd, field
Bottom = 3
bottom, or even, field
Interlaced = 4
both fields interlaced
SequentialTB = 5
top field stored first, then bottom field
SequentialBT = 6
bottom field stored first, then top field
Alternate = 7
one field at a time, alternates between top and bottom
InterlacedTB = 8
both fields interlaced, starts with top
InterlacedBT = 9
both fields interlaced, starts with bottom
Trait Implementations§
source§impl Clone for FieldOrder
impl Clone for FieldOrder
source§fn clone(&self) -> FieldOrder
fn clone(&self) -> FieldOrder
Returns a copy 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 FieldOrder
impl Debug for FieldOrder
source§impl Display for FieldOrder
impl Display for FieldOrder
source§impl TryFrom<u32> for FieldOrder
impl TryFrom<u32> for FieldOrder
impl Copy for FieldOrder
Auto Trait Implementations§
impl Freeze for FieldOrder
impl RefUnwindSafe for FieldOrder
impl Send for FieldOrder
impl Sync for FieldOrder
impl Unpin for FieldOrder
impl UnwindSafe for FieldOrder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)