pub trait DirectControlBindingExt: IsA<DirectControlBinding> + 'static {
// Provided methods
fn is_absolute(&self) -> bool { ... }
fn control_source(&self) -> Option<ControlSource> { ... }
fn set_control_source<P: IsA<ControlSource>>(
&self,
control_source: Option<&P>,
) { ... }
fn connect_control_source_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn is_absolute(&self) -> bool
fn control_source(&self) -> Option<ControlSource>
fn set_control_source<P: IsA<ControlSource>>(&self, control_source: Option<&P>)
fn connect_control_source_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.