FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowResizedEventArgs

    struct · ferroui-controls · v0.5.0

    struct WindowResizedEventArgs
    

    Provides data for the window resized event.

    View source

    Members

    new

    fn new(client_size: Size, reason: WindowResizeReason) -> Self
    

    Creates the event args. Only the windowing classes raise the event.

    Source

    client_size

    fn client_size(self: &Self) -> Size
    

    The new client size of the window in device-independent pixels.

    Source

    reason

    fn reason(self: &Self) -> WindowResizeReason
    

    The reason for the resize.

    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
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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