pub struct VitcPattern {
pub scan_lines: Vec<u16>,
pub bits_per_sample: u8,
}Expand description
A pre-computed VITC line-insertion pattern for one frame rate.
The scan_lines field lists the standard VBI line numbers used by that
frame rate; bits_per_sample is the pixel-clock ratio (how many pixels
represent one VITC bit).
Fields§
§scan_lines: Vec<u16>Standard VBI scan lines for this frame rate.
bits_per_sample: u8Nominal pixels per VITC bit at this standard.
Trait Implementations§
Source§impl Clone for VitcPattern
impl Clone for VitcPattern
Source§fn clone(&self) -> VitcPattern
fn clone(&self) -> VitcPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VitcPattern
impl RefUnwindSafe for VitcPattern
impl Send for VitcPattern
impl Sync for VitcPattern
impl Unpin for VitcPattern
impl UnsafeUnpin for VitcPattern
impl UnwindSafe for VitcPattern
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