Trait gstreamer::format::TimeFormatConstructor

source ·
pub trait TimeFormatConstructor {
    // Required methods
    fn nseconds(self) -> ClockTime;
    fn useconds(self) -> ClockTime;
    fn mseconds(self) -> ClockTime;
    fn seconds(self) -> ClockTime;
    fn minutes(self) -> ClockTime;
    fn hours(self) -> ClockTime;
}
Expand description

ClockTime formatted value constructor trait.

Required Methods§

source

fn nseconds(self) -> ClockTime

Builds a ClockTime formatted value from self interpreted as nano seconds.

source

fn useconds(self) -> ClockTime

Builds a ClockTime formatted value from self interpreted as micro seconds.

source

fn mseconds(self) -> ClockTime

Builds a ClockTime formatted value from self interpreted as milli seconds.

source

fn seconds(self) -> ClockTime

Builds a ClockTime formatted value from self interpreted as seconds.

source

fn minutes(self) -> ClockTime

Builds a ClockTime formatted value from self interpreted as minutes.

source

fn hours(self) -> ClockTime

Builds a ClockTime formatted value from self interpreted as hours.

Implementations on Foreign Types§

source§

impl TimeFormatConstructor for u64

Implementors§