Trait gio::prelude::PowerProfileMonitorExt
source · [−]pub trait PowerProfileMonitorExt: 'static {
fn is_power_saver_enabled(&self) -> bool;
fn connect_power_saver_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn is_power_saver_enabled(&self) -> bool
sourcefn connect_power_saver_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_power_saver_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Available on crate feature
v2_70
only.Implementors
impl<O: IsA<PowerProfileMonitor>> PowerProfileMonitorExt for O
Available on crate feature
v2_70
only.