pub trait VirtualElement<Element: 'static>:
Clone
+ PartialEq
+ Dyn {
// Required methods
fn get_bounding_client_rect(&self) -> ClientRectObject;
fn get_client_rects(&self) -> Option<Vec<ClientRectObject>>;
fn context_element(&self) -> Option<Element>;
}
Expand description
Custom positioning reference element.
See the Rust Floating UI book for more documentation.