pub struct MiddlewareState {
pub x: f64,
pub y: f64,
pub initial_placement: Placement,
pub placement: Placement,
pub strategy: Strategy,
pub middleware_data: MiddlewareData,
pub elements: Elements,
pub rects: ElementRects,
pub platform: JsValue,
}
Fields§
§x: f64
§y: f64
§initial_placement: Placement
§placement: Placement
§strategy: Strategy
§middleware_data: MiddlewareData
§elements: Elements
§rects: ElementRects
§platform: JsValue
Trait Implementations§
Source§impl Clone for MiddlewareState
impl Clone for MiddlewareState
Source§fn clone(&self) -> MiddlewareState
fn clone(&self) -> MiddlewareState
Returns a duplicate 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 moreSource§impl From<MiddlewareState> for Coords
impl From<MiddlewareState> for Coords
Source§fn from(child: MiddlewareState) -> Self
fn from(child: MiddlewareState) -> Self
Converts to this type from the input type.
Source§impl Index<&Axis> for MiddlewareState
impl Index<&Axis> for MiddlewareState
Source§impl IndexMut<&Axis> for MiddlewareState
impl IndexMut<&Axis> for MiddlewareState
Source§impl TryFrom<JsValue> for MiddlewareState
impl TryFrom<JsValue> for MiddlewareState
Auto Trait Implementations§
impl Freeze for MiddlewareState
impl RefUnwindSafe for MiddlewareState
impl !Send for MiddlewareState
impl !Sync for MiddlewareState
impl Unpin for MiddlewareState
impl UnwindSafe for MiddlewareState
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