pub struct WindowView<'w> { /* private fields */ }Expand description
A window’s laid-out tree, borrowed for reading. Get one from
Window::view.
Implementations§
Source§impl<'w> WindowView<'w>
impl<'w> WindowView<'w>
Sourcepub fn root(&self) -> NodeView<'_>
pub fn root(&self) -> NodeView<'_>
The window’s root node, which has the window’s style and its child.
Sourcepub fn loading_images(&self) -> Vec<ImageView<'_>>
pub fn loading_images(&self) -> Vec<ImageView<'_>>
The window’s images whose status signal still says Loading, hidden
ones too, at the box they were last laid out in. The platform has the
renderer load them when
image_sources_changed says so,
drawn or not, since one may be shown only once it is Ready.
Auto Trait Implementations§
impl<'w> !RefUnwindSafe for WindowView<'w>
impl<'w> !Send for WindowView<'w>
impl<'w> !Sync for WindowView<'w>
impl<'w> !UnwindSafe for WindowView<'w>
impl<'w> Forget for WindowView<'w>
impl<'w> Freeze for WindowView<'w>
impl<'w> Move for WindowView<'w>
impl<'w> Unpin for WindowView<'w>
impl<'w> UnsafeUnpin for WindowView<'w>
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