pub trait EnableableControl: ToolbarControl {
// Provided method
fn set_enabled(&self, enabled: bool) -> ControlPacket<'static> { ... }
}Expand description
A ToolbarControl that can be enabled or disabled.
Provided Methods§
Sourcefn set_enabled(&self, enabled: bool) -> ControlPacket<'static>
fn set_enabled(&self, enabled: bool) -> ControlPacket<'static>
Sets whether the control is enabled or disabled.
Returns a ControlPacket that can be sent using a
synchronous::ExtcapControlSender or
asynchronous::ExtcapControlSender.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".