pub trait ConnectBindingExt {
    type Target;

    // Required method
    fn with_binding<B: Binding<Target = Self::Target>>(binding: &B) -> Self;
}
Expand description

Extension for ConnectBinding. This trait is not implemented manually, but through automatically implemented for all types that implement ConnectBinding.

Required Associated Types§

source

type Target

The type of the primary property. Inherited from ConnectBinding::Target.

Required Methods§

source

fn with_binding<B: Binding<Target = Self::Target>>(binding: &B) -> Self

Create an object and immediately connect it with a Binding.

Object Safety§

This trait is not object safe.

Implementors§