FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Vector3Transition

    struct · ferroui-base · v0.5.0

    struct Vector3Transition
    

    Microsoft.UI.Xaml.Vector3Transition: the animation of a change of a Vector3 facade of an element (UIElement.ScaleTransition, UIElement.TranslationTransition).

    Deviation (winui-composition.md): a value, as ScalarTransition.

    View source

    Members

    new

    const fn new() -> Vector3Transition
    

    A transition of the default duration (300 milliseconds) animating every component.

    Source

    with

    const fn with(duration: Duration, components: Vector3TransitionComponents) -> Vector3Transition
    

    A transition of duration animating components.

    Source

    duration

    fn duration(self: &Self) -> Duration
    

    Duration: how long the animation of a change takes. 300 milliseconds by default.

    Source

    set_duration

    fn set_duration(self: &mut Self, value: Duration)
    

    Sets duration.

    Source

    components

    fn components(self: &Self) -> Vector3TransitionComponents
    

    Components: the components that animate; the others take their new value at once. All three by default.

    Source

    set_components

    fn set_components(self: &mut Self, value: Vector3TransitionComponents)
    

    Sets components.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Default

    Availability

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