RequestBringIntoViewEventArgs
struct · ferroui-controls · v0.5.0
struct RequestBringIntoViewEventArgs
Provides data for the RequestBringIntoView event.
Members
target_object
target_object: Option<ferroui_base::Ref<ferroui_base::Visual>>
The target object that should be brought into view.
new
fn new() -> Self
Creates args with no routed event.
with_event
fn with_event<T: ?Sized>(routed_event: &RoutedEvent<T>) -> Self
Creates args for a routed event.
target_rect
fn target_rect(self: &Self) -> Rect
The rectangle in the target object's coordinate space that should be brought into view.
set_target_rect
fn set_target_rect(self: &Self, value: Rect)
Sets the rectangle in the target object's coordinate space that should be brought into view. Handlers may adjust it while the event routes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherMarkupTypedCloneDefaultDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.