TaskCompletedTrigger
struct · ferroui-xaml-interactions · v0.5.0
struct TaskCompletedTrigger
A trigger that invokes its actions when the supplied task completes.
The task is an ActionTask (the Task of the reference); the actions run in a job of the
dispatcher after it completed, whether it ran to the end, failed or was canceled.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TaskCompletedTrigger>
Returns a strong reference to this object.
task_property
fn task_property() -> &'static StyledProperty<Option<ActionTask>>
Identifies the Task property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
task
fn task(self: &Self) -> Option<ActionTask>
Gets or sets the task monitored by the trigger.
set_task
fn set_task(self: &Self, value: Option<ActionTask>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<TaskCompletedTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplStyledElementBehaviorImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.