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
An ILayoutManager that handles BringIntoViewRequests.
Required Methods§
Sourcefn is_in_layout_pass(&self) -> bool
fn is_in_layout_pass(&self) -> bool
Gets whether a layout pass is currently running.
Sourcefn enqueue_bring_into_view(&self, request: Rc<dyn BringIntoViewRequest>)
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".