[][src]Struct gstreamer_video::ValidVideoTimeCode

pub struct ValidVideoTimeCode(_);

Implementations

impl ValidVideoTimeCode[src]

pub fn new(
    fps: Fraction,
    latest_daily_jam: Option<&DateTime>,
    flags: VideoTimeCodeFlags,
    hours: u32,
    minutes: u32,
    seconds: u32,
    frames: u32,
    field_count: u32
) -> Result<Self, BoolError>
[src]

pub fn add_frames(&mut self, frames: i64)[src]

pub fn add_interval(
    &self,
    tc_inter: &VideoTimeCodeInterval
) -> Result<ValidVideoTimeCode, BoolError>
[src]

pub fn frames_since_daily_jam(&self) -> u64[src]

pub fn increment_frame(&mut self)[src]

pub fn nsec_since_daily_jam(&self) -> u64[src]

pub fn to_date_time(&self) -> Result<DateTime, BoolError>[src]

impl ValidVideoTimeCode[src]

pub fn get_hours(&self) -> u32[src]

pub fn get_minutes(&self) -> u32[src]

pub fn get_seconds(&self) -> u32[src]

pub fn get_frames(&self) -> u32[src]

pub fn get_field_count(&self) -> u32[src]

pub fn get_fps(&self) -> Fraction[src]

pub fn get_flags(&self) -> VideoTimeCodeFlags[src]

pub fn get_latest_daily_jam(&self) -> Option<DateTime>[src]

pub fn set_latest_daily_jam(&mut self, latest_daily_jam: Option<&DateTime>)[src]

Trait Implementations

impl Clone for ValidVideoTimeCode[src]

impl Debug for ValidVideoTimeCode[src]

impl Display for ValidVideoTimeCode[src]

impl Drop for ValidVideoTimeCode[src]

impl Eq for ValidVideoTimeCode[src]

impl From<ValidVideoTimeCode> for VideoTimeCode[src]

impl Ord for ValidVideoTimeCode[src]

impl PartialEq<ValidVideoTimeCode> for ValidVideoTimeCode[src]

impl PartialOrd<ValidVideoTimeCode> for ValidVideoTimeCode[src]

impl Send for ValidVideoTimeCode[src]

impl StaticType for ValidVideoTimeCode[src]

impl Sync for ValidVideoTimeCode[src]

impl TryFrom<VideoTimeCode> for ValidVideoTimeCode[src]

type Error = VideoTimeCode

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for ValidVideoTimeCode

impl Unpin for ValidVideoTimeCode

impl UnwindSafe for ValidVideoTimeCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.