pub trait SystemClockExt: IsA<SystemClock> + '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
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
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.