FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransitionCompletedEventArgs

    struct · ferroui-controls · v0.5.0

    struct TransitionCompletedEventArgs
    

    Represents the event arguments for the TransitionCompleted event of the TransitioningContentControl.

    View source

    Members

    new

    fn new(from: Option<BoxedValue>, to: Option<BoxedValue>, has_run_to_completion: bool) -> Self
    

    Creates the args: from is the content that was transitioned from, to the content that was transitioned to, and has_run_to_completion tells whether the transition ran to completion.

    Source

    from

    fn from(self: &Self) -> Option<&BoxedValue>
    

    The content that was transitioned from.

    Source

    to

    fn to(self: &Self) -> Option<&BoxedValue>
    

    The content that was transitioned to.

    Source

    has_run_to_completion

    fn has_run_to_completion(self: &Self) -> bool
    

    Whether the transition ran to completion. If false, the transition may have completed instantly or been cancelled.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • MarkupTyped
    • Clone
    • Deref
    • IRoutedEventArgs

    Availability

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