gstreamer::subclass::prelude

Trait ClockImplExt

Source
pub trait ClockImplExt: ClockImpl {
    // Required method
    fn parent_change_resolution(
        &self,
        old_resolution: ClockTime,
        new_resolution: ClockTime,
    ) -> ClockTime;

    // Provided methods
    fn parent_resolution(&self) -> ClockTime { ... }
    fn parent_internal_time(&self) -> ClockTime { ... }
    fn parent_wait(
        &self,
        id: &ClockId,
    ) -> (Result<ClockSuccess, ClockError>, ClockTimeDiff) { ... }
    fn parent_wait_async(
        &self,
        id: &ClockId,
    ) -> Result<ClockSuccess, ClockError> { ... }
    fn parent_unschedule(&self, id: &ClockId) { ... }
    fn wake_id(&self, id: &ClockId) { ... }
}

Required Methods§

Source

fn parent_change_resolution( &self, old_resolution: ClockTime, new_resolution: ClockTime, ) -> ClockTime

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§