struct WindowState<B: Backend> {
native: Rc<B::Window>,
root: NodeId,
viewport: Option<Size>,
min_width: f32,
scroll_bar_width: f32,
needs_layout: bool,
}Fields§
§native: Rc<B::Window>§root: NodeId§viewport: Option<Size>None until the window is shown and reports its size.
min_width: f32The narrowest content width last given to the backend.
scroll_bar_width: f32The width the window’s scroll areas last left for their scroll bars.
needs_layout: boolAuto Trait Implementations§
impl<B> !Send for WindowState<B>
impl<B> !Sync for WindowState<B>
impl<B> Freeze for WindowState<B>
impl<B> RefUnwindSafe for WindowState<B>
impl<B> Unpin for WindowState<B>
impl<B> UnsafeUnpin for WindowState<B>
impl<B> UnwindSafe for WindowState<B>
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