FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RenderTargetBitmapTrigger

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct RenderTargetBitmapTrigger
    

    Trigger that calls IRenderTargetBitmapRenderHost::render periodically.

    The args of the tick (empty event args) are the parameter of the actions.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RenderTargetBitmapTrigger>
    

    Returns a strong reference to this object.

    Source

    target_property

    fn target_property() -> &'static StyledProperty<Option<Rc<dyn IRenderTargetBitmapRenderHost>>>
    

    Identifies the Target property.

    Source

    milliseconds_per_tick_property

    fn milliseconds_per_tick_property() -> &'static StyledProperty<i32>
    

    Identifies the MillisecondsPerTick property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a trigger.

    Source

    target

    fn target(self: &Self) -> Option<Rc<dyn IRenderTargetBitmapRenderHost>>
    

    Gets or sets the render host that should be rendered. This is a property of the object model; markup resolves a name given for it to the named host.

    Source

    set_target

    fn set_target(self: &Self, value: Option<Rc<dyn IRenderTargetBitmapRenderHost>>)
    

    Source

    milliseconds_per_tick

    fn milliseconds_per_tick(self: &Self) -> i32
    

    Gets or sets the interval, in milliseconds, between render ticks. This is a property of the object model.

    Source

    set_milliseconds_per_tick

    fn set_milliseconds_per_tick(self: &Self, value: i32)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.