Skip to main content

IBringIntoViewLayoutManager

Trait IBringIntoViewLayoutManager 

Source
pub trait IBringIntoViewLayoutManager: ILayoutManager {
    // Required methods
    fn is_in_layout_pass(&self) -> bool;
    fn enqueue_bring_into_view(&self, request: Rc<dyn BringIntoViewRequest>);
}
Expand description

Required Methods§

Source

fn is_in_layout_pass(&self) -> bool

Gets whether a layout pass is currently running.

Source

fn enqueue_bring_into_view(&self, request: Rc<dyn BringIntoViewRequest>)

Enqueues a bring-into-view request to be processed at the end of the current or next layout pass, replacing any previously enqueued request for the same target.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§