PowerProfileMonitorExt

Trait PowerProfileMonitorExt 

Source
pub trait PowerProfileMonitorExt: IsA<PowerProfileMonitor> + 'static {
    // Provided methods
    fn is_power_saver_enabled(&self) -> bool { ... }
    fn connect_power_saver_enabled_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

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§