DelayAction
struct · ferroui-xaml-interactions · v0.5.0
struct DelayAction
An action that waits for a specified duration.
The action returns the task of the wait, which an AsyncActionGroup
in sequence mode awaits before the next action.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<DelayAction>
Returns a strong reference to this object.
duration_property
fn duration_property() -> &'static StyledProperty<Duration>
Identifies the Duration property.
A duration as long as the longest time span (TimeSpan.MaxValue) or longer, such as
Duration::MAX, waits forever: the Timeout.InfiniteTimeSpan of the reference
(minus one millisecond) is a negative time span, which is not a Duration
(DEVIATIONS.md, Behaviors).
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
duration
fn duration(self: &Self) -> Duration
Gets or sets the duration to wait; Duration::MAX waits forever (see
duration_property). This is a property of the object model.
set_duration
fn set_duration(self: &Self, value: Duration)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<DelayAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.