Trait gstreamer::format::clock_time::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§
sourcefn nseconds(self) -> ClockTime
fn nseconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as nano seconds.
sourcefn useconds(self) -> ClockTime
fn useconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as micro seconds.
sourcefn mseconds(self) -> ClockTime
fn mseconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as milli seconds.
sourcefn seconds(self) -> ClockTime
fn seconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as seconds.