Struct spectrusty_core::clock::VideoTs
source · Expand description
A timestamp type that consists of two video counters: vertical and horizontal.
VideoTs { vc: 0, hc: 0 }
marks the start of the video frame.
Fields§
§vc: Ts
A vertical counter - a video scan-line index.
hc: Ts
A horizontal counter - measured in T-states.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for VideoTs
impl<'de> Deserialize<'de> for VideoTs
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 From<&VideoTsData1> for VideoTs
impl From<&VideoTsData1> for VideoTs
source§fn from(vtsd: &VideoTsData1) -> Self
fn from(vtsd: &VideoTsData1) -> Self
Converts to this type from the input type.
source§impl From<&VideoTsData2> for VideoTs
impl From<&VideoTsData2> for VideoTs
source§fn from(vtsd: &VideoTsData2) -> Self
fn from(vtsd: &VideoTsData2) -> Self
Converts to this type from the input type.
source§impl From<&VideoTsData3> for VideoTs
impl From<&VideoTsData3> for VideoTs
source§fn from(vtsd: &VideoTsData3) -> Self
fn from(vtsd: &VideoTsData3) -> Self
Converts to this type from the input type.
source§impl From<&VideoTsData6> for VideoTs
impl From<&VideoTsData6> for VideoTs
source§fn from(vtsd: &VideoTsData6) -> Self
fn from(vtsd: &VideoTsData6) -> Self
Converts to this type from the input type.
source§impl<V, C> From<VFrameTsCounter<V, C>> for VideoTs
impl<V, C> From<VFrameTsCounter<V, C>> for VideoTs
source§fn from(vftsc: VFrameTsCounter<V, C>) -> VideoTs
fn from(vftsc: VFrameTsCounter<V, C>) -> VideoTs
Converts to this type from the input type.
source§impl From<VideoTsData1> for VideoTs
impl From<VideoTsData1> for VideoTs
source§fn from(vtsd: VideoTsData1) -> Self
fn from(vtsd: VideoTsData1) -> Self
Converts to this type from the input type.
source§impl From<VideoTsData2> for VideoTs
impl From<VideoTsData2> for VideoTs
source§fn from(vtsd: VideoTsData2) -> Self
fn from(vtsd: VideoTsData2) -> Self
Converts to this type from the input type.
source§impl From<VideoTsData3> for VideoTs
impl From<VideoTsData3> for VideoTs
source§fn from(vtsd: VideoTsData3) -> Self
fn from(vtsd: VideoTsData3) -> Self
Converts to this type from the input type.
source§impl From<VideoTsData6> for VideoTs
impl From<VideoTsData6> for VideoTs
source§fn from(vtsd: VideoTsData6) -> Self
fn from(vtsd: VideoTsData6) -> Self
Converts to this type from the input type.
source§impl Ord for VideoTs
impl Ord for VideoTs
source§impl PartialOrd<VideoTs> for VideoTs
impl PartialOrd<VideoTs> for VideoTs
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more