WriteableBitmapTimerTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct WriteableBitmapTimerTrigger
A trigger that fires its actions on a timer and passes a
WriteableBitmap as parameter.
Members
TYPEto_refbitmap_propertymilliseconds_per_tick_propertyconstructnewbitmapset_bitmapmilliseconds_per_tickset_milliseconds_per_tick
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<WriteableBitmapTimerTrigger>
Returns a strong reference to this object.
bitmap_property
fn bitmap_property() -> &'static StyledProperty<Option<WriteableBitmapRef>>
Identifies the Bitmap property.
milliseconds_per_tick_property
fn milliseconds_per_tick_property() -> &'static StyledProperty<i32>
Identifies the MillisecondsPerTick property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
bitmap
fn bitmap(self: &Self) -> Option<WriteableBitmapRef>
Gets or sets the bitmap passed to actions. This is a property of the object model.
set_bitmap
fn set_bitmap(self: &Self, value: Option<WriteableBitmapRef>)
milliseconds_per_tick
fn milliseconds_per_tick(self: &Self) -> i32
Gets or sets the timer interval in milliseconds. This is a property of the object model.
set_milliseconds_per_tick
fn set_milliseconds_per_tick(self: &Self, value: i32)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<WriteableBitmapTimerTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.