pub struct ParentWindowHandle { /* private fields */ }Expand description
An owned handle to a parent window.
This type holds just what’s needed for baseview to create a child window into this window.
This can safely be constructed from only a temporary reference to any HasWindowHandle.
Implementations§
Source§impl ParentWindowHandle
impl ParentWindowHandle
Sourcepub fn from_window(parent_window: &impl HasWindowHandle) -> Self
pub fn from_window(parent_window: &impl HasWindowHandle) -> Self
Grabs a handle to the given parent_window, to later create a child window in it.
Trait Implementations§
Source§impl Clone for ParentWindowHandle
impl Clone for ParentWindowHandle
Source§impl Debug for ParentWindowHandle
impl Debug for ParentWindowHandle
impl Eq for ParentWindowHandle
Source§impl<W: HasWindowHandle> From<&W> for ParentWindowHandle
impl<W: HasWindowHandle> From<&W> for ParentWindowHandle
Source§impl PartialEq for ParentWindowHandle
impl PartialEq for ParentWindowHandle
impl StructuralPartialEq for ParentWindowHandle
Auto Trait Implementations§
impl Freeze for ParentWindowHandle
impl RefUnwindSafe for ParentWindowHandle
impl Send for ParentWindowHandle
impl Sync for ParentWindowHandle
impl Unpin for ParentWindowHandle
impl UnsafeUnpin for ParentWindowHandle
impl UnwindSafe for ParentWindowHandle
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