pub struct DesktopWindowTarget(/* private fields */);Expand description
A composition target that hosts a visual tree inside a window.
Created by
Compositor::create_desktop_window_target.
Assign the tree’s root with set_root; the target renders
its root for as long as it is kept alive.
Implementations§
Auto Trait Implementations§
impl Freeze for DesktopWindowTarget
impl RefUnwindSafe for DesktopWindowTarget
impl Send for DesktopWindowTarget
impl Sync for DesktopWindowTarget
impl Unpin for DesktopWindowTarget
impl UnsafeUnpin for DesktopWindowTarget
impl UnwindSafe for DesktopWindowTarget
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