pub trait SystemClockExt: IsA<SystemClock> + Sealed + 'static {
    // Provided methods
    fn clock_type(&self) -> ClockType { ... }
    fn set_clock_type(&self, clock_type: ClockType) { ... }
    fn connect_clock_type_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all SystemClock methods.

§Implementors

SystemClock

Provided Methods§

source

fn clock_type(&self) -> ClockType

source

fn set_clock_type(&self, clock_type: ClockType)

source

fn connect_clock_type_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§