pub struct Window {
pub border: Option<Border>,
pub width: usize,
pub height: usize,
pub main_context: Rectangle,
}Expand description
Represents a portion of the screen
Fields§
§border: Option<Border>§width: usize§height: usize§main_context: RectangleAuto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin 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