pub struct Components {
window: Option<ApplicationWindow>,
window_state: WindowState,
open_btn: Button,
}
Fields§
§window: Option<ApplicationWindow>
§window_state: WindowState
§open_btn: Button
Implementations§
Source§impl Components
impl Components
fn new() -> Components
pub fn close_window(&self)
pub fn window(&self) -> &ApplicationWindow
Auto Trait Implementations§
impl Freeze for Components
impl RefUnwindSafe for Components
impl !Send for Components
impl !Sync for Components
impl Unpin for Components
impl UnwindSafe for Components
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