FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RequestBringIntoViewEventArgs

    struct · ferroui-controls · v0.5.0

    struct RequestBringIntoViewEventArgs
    

    Provides data for the RequestBringIntoView event.

    View source

    Members

    target_object

    target_object: Option<ferroui_base::Ref<ferroui_base::Visual>>
    

    The target object that should be brought into view.

    Source

    new

    fn new() -> Self
    

    Creates args with no routed event.

    Source

    with_event

    fn with_event<T: ?Sized>(routed_event: &RoutedEvent<T>) -> Self
    

    Creates args for a routed event.

    Source

    target_rect

    fn target_rect(self: &Self) -> Rect
    

    The rectangle in the target object's coordinate space that should be brought into view.

    Source

    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.

    Source

    Trait implementations

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

    Availability

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