pub struct ViewRequest {
pub config: WindowConfig,
pub initial_data: Option<String>,
}Expand description
What an app asks for when it asks for a view.
Fields§
§config: WindowConfigThe window a desktop makes for the view.
initial_data: Option<String>What the view carries when it arrives (View::initial_data),
such as which screen to show.
Trait Implementations§
Source§impl Clone for ViewRequest
impl Clone for ViewRequest
Source§impl Debug for ViewRequest
impl Debug for ViewRequest
Source§impl Default for ViewRequest
impl Default for ViewRequest
Source§impl PartialEq for ViewRequest
impl PartialEq for ViewRequest
impl StructuralPartialEq for ViewRequest
Auto Trait Implementations§
impl Freeze for ViewRequest
impl RefUnwindSafe for ViewRequest
impl Send for ViewRequest
impl Sync for ViewRequest
impl Unpin for ViewRequest
impl UnsafeUnpin for ViewRequest
impl UnwindSafe for ViewRequest
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