pub struct VideoTiming {
pub frame: i64,
pub line: i64,
pub start_mclk: i64,
pub dot_divider: i64,
pub frame_lines: i64,
pub in_vsync: bool,
}Expand description
One record per line, handed to anything that mixes or captures video.
Fields§
§frame: i64frame counter since power-on
line: i64line index within the frame, 0 = first line after the vertical sync
start_mclk: i64master-clock time of the line’s start (the VCE’s hsync)
dot_divider: i64master clocks per dot: 4, 3 or 2 (VCE dot clock at the line’s start)
frame_lines: i64262 or 263
in_vsync: boolTrait Implementations§
Source§impl Clone for VideoTiming
impl Clone for VideoTiming
Source§fn clone(&self) -> VideoTiming
fn clone(&self) -> VideoTiming
Returns a duplicate 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 VideoTiming
impl Debug for VideoTiming
Source§impl<'de> Deserialize<'de> for VideoTiming
impl<'de> Deserialize<'de> for VideoTiming
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VideoTiming
impl PartialEq for VideoTiming
Source§impl Serialize for VideoTiming
impl Serialize for VideoTiming
impl Copy for VideoTiming
impl Eq for VideoTiming
impl StructuralPartialEq for VideoTiming
Auto Trait Implementations§
impl Freeze for VideoTiming
impl RefUnwindSafe for VideoTiming
impl Send for VideoTiming
impl Sync for VideoTiming
impl Unpin for VideoTiming
impl UnwindSafe for VideoTiming
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