FerroActivationForViewFetcher
struct · ferroui-reactiveui-controls · v0.5.0
struct FerroActivationForViewFetcher
The activation of the views of FerroUI (FerroActivationForViewFetcher).
A view whose object is a Visual has an affinity; its activation follows the Loaded and
Unloaded events of a Control, or the attachment to and the detachment from the visual tree
of any other visual. Each observable emits only when the state changes.
The object of a view is the control behind a view adapter of the crate, or, for another type of
view, the object FerroObjectHandles::object_of finds: such a view registers its type there
(FerroObjectHandles::register or FerroObjectHandles::register_class).
Deviation (DEVIATIONS.md, ReactiveUI controls): the affinity is computed on the view, as every
fetcher of the port does. The activation of a Window also follows its visibility: hiding the
window deactivates it and showing it again activates it, as the views of a hidden window are not
shown.
Members
VISUAL_AFFINITY
const VISUAL_AFFINITY: i32
The affinity of the views that are visuals (FerroVisualAffinity).
new
fn new() -> Self
The fetcher (new FerroActivationForViewFetcher()).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherDebugDefaultCloneCopyIActivationForViewFetcher
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.