WindowResizedEventArgs
struct · ferroui-controls · v0.5.0
struct WindowResizedEventArgs
Provides data for the window resized event.
Members
new
fn new(client_size: Size, reason: WindowResizeReason) -> Self
Creates the event args. Only the windowing classes raise the event.
client_size
fn client_size(self: &Self) -> Size
The new client size of the window in device-independent pixels.
reason
fn reason(self: &Self) -> WindowResizeReason
The reason for the resize.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.