pub trait ToggleToolButtonExt:
IsA<ToggleToolButton>
+ Sealed
+ 'static {
// Provided methods
fn is_active(&self) -> bool { ... }
fn set_active(&self, is_active: bool) { ... }
fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn is_active(&self) -> bool
fn set_active(&self, is_active: bool)
fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_active_notify<F: Fn(&Self) + '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.