BindingAffinity
struct · ferroui-reactiveui · v0.5.0
struct BindingAffinity
The affinity scores shared by the type converters, the property observers and the command
binders: a higher value is a stronger match, and zero means that the candidate does not apply
(BindingAffinity).
DEFAULT_INTERNAL_TYPE_CONVERTER, DEFAULT_EVENT, EXPLICIT and EXACT_TYPE carry the
values of ReactiveUI's scores of those names; the scores of the platforms are upstream's own,
kept so that an observer of another platform ranks as it does there.
Members
FALLBACKDEFAULT_INTERNAL_TYPE_CONVERTERDEFAULT_EVENTWPF_DEPENDENCY_OBJECTEVENT_ENABLED_CONTROLEXPLICITWIN_UI_DEPENDENCY_OBJECTWIN_FORMS_EVENTEXACT_TYPEKVO
FALLBACK
const FALLBACK: i32
The affinity of the observer of plain objects, the lowest match (Fallback).
DEFAULT_INTERNAL_TYPE_CONVERTER
const DEFAULT_INTERNAL_TYPE_CONVERTER: i32
The affinity of the built-in value and string converters (DefaultInternalTypeConverter).
DEFAULT_EVENT
const DEFAULT_EVENT: i32
The affinity of a binding to the conventional default event of a type (DefaultEvent).
WPF_DEPENDENCY_OBJECT
const WPF_DEPENDENCY_OBJECT: i32
The affinity of a dependency property of WPF (WpfDependencyObject).
EVENT_ENABLED_CONTROL
const EVENT_ENABLED_CONTROL: i32
The affinity of the command binding of a control with an enabled event
(EventEnabledControl).
EXPLICIT
const EXPLICIT: i32
The affinity of an explicit or interface-based match, such as INotifyPropertyChanged or a
named event (Explicit).
WIN_UI_DEPENDENCY_OBJECT
const WIN_UI_DEPENDENCY_OBJECT: i32
The affinity of a dependency property of WinUI (WinUiDependencyObject).
WIN_FORMS_EVENT
const WIN_FORMS_EVENT: i32
The affinity of the event-based property observation of WinForms (WinFormsEvent).
EXACT_TYPE
const EXACT_TYPE: i32
The affinity of a strong, exact-type match, such as IReactiveObject (ExactType).
KVO
const KVO: i32
The affinity of key-value observing on Apple platforms (Kvo).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.