Struct floating_ui_dom::ComputePositionReturn
source · pub struct ComputePositionReturn {
pub x: f64,
pub y: f64,
pub placement: Placement,
pub strategy: Strategy,
pub middleware_data: MiddlewareData,
}
Expand description
Return of compute_position
.
Fields§
§x: f64
§y: f64
§placement: Placement
The final chosen placement of the floating element.
strategy: Strategy
The strategy used to position the floating element.
middleware_data: MiddlewareData
Object containing data returned from all middleware, keyed by their name.
Trait Implementations§
source§impl Clone for ComputePositionReturn
impl Clone for ComputePositionReturn
source§fn clone(&self) -> ComputePositionReturn
fn clone(&self) -> ComputePositionReturn
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ComputePositionReturn
impl RefUnwindSafe for ComputePositionReturn
impl Send for ComputePositionReturn
impl Sync for ComputePositionReturn
impl Unpin for ComputePositionReturn
impl UnwindSafe for ComputePositionReturn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more