FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FluidMoveBehavior

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

    struct FluidMoveBehavior
    

    Behavior that animates position changes of a control or its children.

    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<FluidMoveBehavior>
    

    Returns a strong reference to this object.

    Source

    applies_to_property

    fn applies_to_property() -> &'static StyledProperty<FluidMoveScope>
    

    Identifies the AppliesTo property.

    Source

    duration_property

    fn duration_property() -> &'static StyledProperty<SignedDuration>
    

    Identifies the Duration property.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    applies_to

    fn applies_to(self: &Self) -> FluidMoveScope
    

    Gets or sets how the behavior is applied.

    Source

    set_applies_to

    fn set_applies_to(self: &Self, value: FluidMoveScope)
    

    Source

    duration

    fn duration(self: &Self) -> SignedDuration
    

    Gets or sets animation duration.

    Source

    set_duration

    fn set_duration(self: &Self, value: SignedDuration)
    

    Source

    Trait implementations

    Availability

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