Make WindowBuilder and HeadlessRendererBuilder derive Clone.

This commit is contained in:
Jan Segre 2016-05-23 03:17:31 -03:00
parent cf02e7f1f4
commit e0f36b80c9
11 changed files with 14 additions and 12 deletions

View file

@ -106,6 +106,7 @@ pub struct Window {
}
/// Object that allows you to build windows.
#[derive(Clone)]
pub struct WindowBuilder<'a> {
/// The attributes to use to create the window.
pub window: WindowAttributes,