ActualThemeVariantChangedBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ActualThemeVariantChangedBehavior
A base class for behaviors using ActualThemeVariantChanged event.
The class is abstract. The type argument T of the reference (a styled element) is the runtime
type passed to construct (see
BehaviorOfT).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ActualThemeVariantChangedBehavior>
Returns a strong reference to this object.
on_actual_theme_variant_changed_event_override
fn on_actual_theme_variant_changed_event_override(self: &Self) -> Rc<dyn IDisposable>
Called when the ActualThemeVariantChanged event of the associated object is raised.
Returns a disposable resource to be disposed when the behavior is detached.
construct
fn construct(associated_type: &'static TypeInfo) -> Self
Creates the class data for behaviors attached to objects of associated_type (the T of
the reference); see ferroui_base::FerroObject::construct.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeActualThemeVariantChangedBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ActualThemeVariantChangedBehavior>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplActualThemeVariantChangedBehaviorImplDisposingBehaviorImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.