pub trait ConnectBinding {
type Target;
// Required method
fn bind<B: Binding<Target = Self::Target>>(&self, binding: &B);
}Expand description
A trait that allows type-safe bindings between to the primary properties of two objects.
Required Associated Types§
Required 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.
Implementations on Foreign Types§
Source§impl ConnectBinding for Adjustment
Create a data binding to the primary property value with type f64.
impl ConnectBinding for Adjustment
Create a data binding to the primary property value with type f64.
Source§impl ConnectBinding for Button
Create a data binding to the primary property label with type String.
impl ConnectBinding for Button
Create a data binding to the primary property label with type String.
Source§impl ConnectBinding for CheckButton
Create a data binding to the primary property active with type bool.
impl ConnectBinding for CheckButton
Create a data binding to the primary property active with type bool.
Source§impl ConnectBinding for Image
Create a data binding to the primary property icon-name with type String.
impl ConnectBinding for Image
Create a data binding to the primary property icon-name with type String.
Source§impl ConnectBinding for Label
Create a data binding to the primary property label with type String.
impl ConnectBinding for Label
Create a data binding to the primary property label with type String.
Source§impl ConnectBinding for LinkButton
Create a data binding to the primary property uri with type String.
impl ConnectBinding for LinkButton
Create a data binding to the primary property uri with type String.
Source§impl ConnectBinding for MenuButton
Create a data binding to the primary property label with type String.
impl ConnectBinding for MenuButton
Create a data binding to the primary property label with type String.
Source§impl ConnectBinding for Popover
Create a data binding to the primary property visible with type bool.
impl ConnectBinding for Popover
Create a data binding to the primary property visible with type bool.
Source§impl ConnectBinding for Revealer
Create a data binding to the primary property reveal-child with type bool.
impl ConnectBinding for Revealer
Create a data binding to the primary property reveal-child with type bool.
Source§impl ConnectBinding for ScaleButton
Create a data binding to the primary property value with type f64.
impl ConnectBinding for ScaleButton
Create a data binding to the primary property value with type f64.
Source§impl ConnectBinding for SpinButton
Create a data binding to the primary property value with type f64.
impl ConnectBinding for SpinButton
Create a data binding to the primary property value with type f64.
Source§impl ConnectBinding for Spinner
Create a data binding to the primary property spinning with type bool.
impl ConnectBinding for Spinner
Create a data binding to the primary property spinning with type bool.
Source§impl ConnectBinding for StackPage
Create a data binding to the primary property name with type String.
impl ConnectBinding for StackPage
Create a data binding to the primary property name with type String.
Source§impl ConnectBinding for Switch
Create a data binding to the primary property active with type bool.
impl ConnectBinding for Switch
Create a data binding to the primary property active with type bool.
Source§impl ConnectBinding for ToggleButton
Create a data binding to the primary property active with type bool.
impl ConnectBinding for ToggleButton
Create a data binding to the primary property active with type bool.
Source§impl ConnectBinding for ActionRow
Create a data binding to the primary property title with type String.
impl ConnectBinding for ActionRow
Create a data binding to the primary property title with type String.
Source§impl ConnectBinding for Banner
Create a data binding to the primary property title with type String.
impl ConnectBinding for Banner
Create a data binding to the primary property title with type String.
Source§impl ConnectBinding for ButtonContent
Create a data binding to the primary property label with type String.
impl ConnectBinding for ButtonContent
Create a data binding to the primary property label with type String.
Source§impl ConnectBinding for ButtonRow
Create a data binding to the primary property title with type String.
impl ConnectBinding for ButtonRow
Create a data binding to the primary property title with type String.
Source§impl ConnectBinding for ExpanderRow
Create a data binding to the primary property expanded with type bool.
impl ConnectBinding for ExpanderRow
Create a data binding to the primary property expanded with type bool.
Source§impl ConnectBinding for PreferencesRow
Create a data binding to the primary property title with type String.
impl ConnectBinding for PreferencesRow
Create a data binding to the primary property title with type String.
Source§impl ConnectBinding for SpinRow
Create a data binding to the primary property value with type f64.
impl ConnectBinding for SpinRow
Create a data binding to the primary property value with type f64.
Source§impl ConnectBinding for SplitButton
Create a data binding to the primary property label with type String.
impl ConnectBinding for SplitButton
Create a data binding to the primary property label with type String.
Source§impl ConnectBinding for SwitchRow
Create a data binding to the primary property active with type bool.
impl ConnectBinding for SwitchRow
Create a data binding to the primary property active with type bool.
Source§impl ConnectBinding for WindowTitle
Create a data binding to the primary property title with type String.
impl ConnectBinding for WindowTitle
Create a data binding to the primary property title with type String.