Struct floating_ui_dom::ApplyState
source · pub struct ApplyState<'a, Element, Window>{
pub state: MiddlewareState<'a, Element, Window>,
pub available_width: f64,
pub available_height: f64,
}
Expand description
State passed to SizeOptions::apply
.
Fields§
§state: MiddlewareState<'a, Element, Window>
§available_width: f64
§available_height: f64
Trait Implementations§
source§impl<'a, Element, Window> Clone for ApplyState<'a, Element, Window>
impl<'a, Element, Window> Clone for ApplyState<'a, Element, Window>
source§fn clone(&self) -> ApplyState<'a, Element, Window>
fn clone(&self) -> ApplyState<'a, Element, Window>
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<'a, Element, Window> Freeze for ApplyState<'a, Element, Window>
impl<'a, Element, Window> !RefUnwindSafe for ApplyState<'a, Element, Window>
impl<'a, Element, Window> !Send for ApplyState<'a, Element, Window>
impl<'a, Element, Window> !Sync for ApplyState<'a, Element, Window>
impl<'a, Element, Window> Unpin for ApplyState<'a, Element, Window>
impl<'a, Element, Window> !UnwindSafe for ApplyState<'a, Element, Window>
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