Make WindowBuilder and HeadlessRendererBuilder derive Clone.
This commit is contained in:
parent
cf02e7f1f4
commit
e0f36b80c9
11 changed files with 14 additions and 12 deletions
|
|
@ -22,7 +22,7 @@ use api::x11::XConnection;
|
|||
use api::x11::XError;
|
||||
use api::x11::XNotSupported;
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Clone, Default)]
|
||||
pub struct PlatformSpecificWindowBuilderAttributes;
|
||||
|
||||
enum Backend {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ pub use self::api_dispatch::{WaitEventsIterator, PollEventsIterator};
|
|||
pub use self::api_dispatch::PlatformSpecificWindowBuilderAttributes;
|
||||
mod api_dispatch;
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Clone, Default)]
|
||||
pub struct PlatformSpecificHeadlessBuilderAttributes;
|
||||
|
||||
pub struct HeadlessContext(OsMesaContext);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue