gstreamer::format

Trait 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§