autocommit 2022-05-01 17:23:55 CEST
This commit is contained in:
parent
4373ed05bf
commit
e1d5bf0e5d
39 changed files with 1772 additions and 57 deletions
|
|
@ -4,7 +4,7 @@ use {
|
|||
backend::{Backend, Connector, ConnectorEvent, ConnectorId, ConnectorKernelId},
|
||||
video::drm::ConnectorType,
|
||||
},
|
||||
std::{error::Error, rc::Rc},
|
||||
std::{any::Any, error::Error, rc::Rc},
|
||||
};
|
||||
|
||||
pub struct DummyBackend;
|
||||
|
|
@ -13,6 +13,10 @@ impl Backend for DummyBackend {
|
|||
fn run(self: Rc<Self>) -> SpawnedFuture<Result<(), Box<dyn Error>>> {
|
||||
unreachable!();
|
||||
}
|
||||
|
||||
fn into_any(self: Rc<Self>) -> Rc<dyn Any> {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
pub struct DummyOutput {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue