FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InputPaneStateEventArgs

    struct · ferroui-controls · v0.5.0

    struct InputPaneStateEventArgs
    

    Provides state change information about the input pane.

    View source

    Members

    new

    fn new(new_state: InputPaneState, start_rect: Option<Rect>, end_rect: Rect) -> Self
    

    Creates the event args for a change that is not animated.

    Source

    with_animation

    fn with_animation(new_state: InputPaneState, start_rect: Option<Rect>, end_rect: Rect, animation_duration: Duration, easing: Option<Rc<dyn IEasing>>) -> Self
    

    Creates the event args for an animated change.

    Source

    new_state

    fn new_state(self: &Self) -> InputPaneState
    

    The new state of the input pane.

    Source

    start_rect

    fn start_rect(self: &Self) -> Option<Rect>
    

    The initial bounds of the input pane.

    Source

    end_rect

    fn end_rect(self: &Self) -> Rect
    

    The final bounds of the input pane.

    Source

    animation_duration

    fn animation_duration(self: &Self) -> Duration
    

    The duration of the input pane's state change animation.

    Source

    easing

    fn easing(self: &Self) -> Option<&Rc<dyn IEasing>>
    

    The easing of the input pane's state changed animation.

    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

    Availability

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