pub struct WindowTemplate {
pub id: usize,
pub location: Point,
pub width: usize,
pub height: usize,
pub border_thickness: usize,
}Expand description
A template to create a Window
Fields§
§id: usize§location: Point§width: usize§height: usize§border_thickness: usizeAuto Trait Implementations§
impl Freeze for WindowTemplate
impl RefUnwindSafe for WindowTemplate
impl Send for WindowTemplate
impl Sync for WindowTemplate
impl Unpin for WindowTemplate
impl UnwindSafe for WindowTemplate
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