[][src]Struct gstreamer_video::VideoTimeCodeInterval

pub struct VideoTimeCodeInterval(_);

A representation of a difference between two VideoTimeCode instances. Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)

Feature: v1_12

Implementations

impl VideoTimeCodeInterval[src]

pub fn new(hours: u32, minutes: u32, seconds: u32, frames: u32) -> Self[src]

Feature: v1_12

hours

the hours field of VideoTimeCodeInterval

minutes

the minutes field of VideoTimeCodeInterval

seconds

the seconds field of VideoTimeCodeInterval

frames

the frames field of VideoTimeCodeInterval

Returns

a new VideoTimeCodeInterval with the given values.

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

pub fn set_hours(&mut self, hours: u32)[src]

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

pub fn set_minutes(&mut self, minutes: u32)[src]

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

pub fn set_seconds(&mut self, seconds: u32)[src]

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

pub fn set_frames(&mut self, frames: u32)[src]

Trait Implementations

impl Clone for VideoTimeCodeInterval[src]

impl Debug for VideoTimeCodeInterval[src]

impl Display for VideoTimeCodeInterval[src]

impl Eq for VideoTimeCodeInterval[src]

impl FromStr for VideoTimeCodeInterval[src]

type Err = BoolError

The associated error which can be returned from parsing.

impl Ord for VideoTimeCodeInterval[src]

impl PartialEq<VideoTimeCodeInterval> for VideoTimeCodeInterval[src]

impl PartialOrd<VideoTimeCodeInterval> for VideoTimeCodeInterval[src]

impl Send for VideoTimeCodeInterval[src]

impl StaticType for VideoTimeCodeInterval[src]

impl Sync for VideoTimeCodeInterval[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoTimeCodeInterval

impl Unpin for VideoTimeCodeInterval

impl UnwindSafe for VideoTimeCodeInterval

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.