Struct floating_ui_core::middleware::ApplyState  
source · pub struct ApplyState<'a, Element: Clone, Window: Clone> {
    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: f64Trait Implementations§
source§impl<'a, Element: Clone + Clone, Window: Clone + Clone> Clone for ApplyState<'a, Element, Window>
 
impl<'a, Element: Clone + Clone, Window: Clone + Clone> 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