FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VisualStateChangedEventArgs

    struct · ferroui-controls · v0.5.0

    struct VisualStateChangedEventArgs
    

    The arguments of CurrentStateChanging and CurrentStateChanged of a VisualStateGroup.

    View source

    Members

    new

    fn new(old_state: Option<Ref<VisualState>>, new_state: Option<Ref<VisualState>>, control: Option<Ref<Control>>) -> Self
    

    Source

    old_state

    fn old_state(self: &Self) -> Option<Ref<VisualState>>
    

    The state the group leaves (None for no state).

    Source

    new_state

    fn new_state(self: &Self) -> Option<Ref<VisualState>>
    

    The state the group enters (None for no state).

    Source

    control

    fn control(self: &Self) -> Option<Ref<Control>>
    

    The control whose states change.

    Source

    Trait implementations

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

    Availability

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