Struct egui_multiwin::multi_window::NewWindowRequest
source · pub struct NewWindowRequest<T, U = DefaultCustomEvent> {
pub window_state: Box<dyn TrackedWindow<T, U>>,
pub builder: WindowBuilder,
pub options: TrackedWindowOptions,
pub id: u32,
}Expand description
A struct defining how a new window is to be created.
Fields§
§window_state: Box<dyn TrackedWindow<T, U>>The actual struct containing window data. The struct must implement the TrackedWindow<T> trait.
builder: WindowBuilderSpecifies how to build the window with a WindowBuilder
options: TrackedWindowOptionsOther options for the window.
id: u32An id to allow a user program to translate window requests into actual window ids.
Auto Trait Implementations§
impl<T, U = DefaultCustomEvent> !RefUnwindSafe for NewWindowRequest<T, U>
impl<T, U = DefaultCustomEvent> !Send for NewWindowRequest<T, U>
impl<T, U = DefaultCustomEvent> !Sync for NewWindowRequest<T, U>
impl<T, U> Unpin for NewWindowRequest<T, U>
impl<T, U = DefaultCustomEvent> !UnwindSafe for NewWindowRequest<T, U>
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