pub struct Window { /* private fields */ }Expand description
窗口相关功能 窗口结构体
Implementations§
Source§impl Window
impl Window
Sourcepub fn new(config: WindowConfig) -> Self
pub fn new(config: WindowConfig) -> Self
Sourcepub fn config(&self) -> &WindowConfig
pub fn config(&self) -> &WindowConfig
Sourcepub fn handle(&self) -> Option<&WindowHandle>
pub fn handle(&self) -> Option<&WindowHandle>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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