pub struct SpawnedEditor<E: EditorHandle> {
pub handle: E,
pub window: E::Window,
}Fields§
§handle: EA handle to the instance of an open Editor.
When this handle is dropped, the editor instance is also dropped.
window: E::WindowThe owned window handle
This will usually be baseview::Window. This is type-erased to avoid needing nice-plug-core
to depend on baseview until it has a stable version.
When this is dropped, the window should be automatically closed.
Auto Trait Implementations§
impl<E> Freeze for SpawnedEditor<E>
impl<E> RefUnwindSafe for SpawnedEditor<E>
impl<E> Send for SpawnedEditor<E>
impl<E> Sync for SpawnedEditor<E>
impl<E> Unpin for SpawnedEditor<E>
impl<E> UnsafeUnpin for SpawnedEditor<E>
impl<E> UnwindSafe for SpawnedEditor<E>
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