pub trait BringIntoViewRequest {
// Required methods
fn target(&self) -> Ref<Layoutable>;
fn try_execute(&self) -> bool;
}Expand description
A bring-into-view request, processed by the
IBringIntoViewLayoutManager at the
end of a layout pass.
Required Methods§
Sourcefn target(&self) -> Ref<Layoutable>
fn target(&self) -> Ref<Layoutable>
Gets the control this request is associated with.
Sourcefn try_execute(&self) -> bool
fn try_execute(&self) -> bool
Attempts to execute the request.
Returns true if the request has been executed (or abandoned) and should be removed from the queue; false if the target isn’t ready yet and the request should be retained for a following layout pass.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".