autocommit 2022-04-14 19:52:11 CEST
This commit is contained in:
parent
35ddfbcbe3
commit
5f13954dbc
27 changed files with 556 additions and 312 deletions
|
|
@ -1,14 +1,20 @@
|
|||
use std::error::Error;
|
||||
use {
|
||||
crate::{
|
||||
async_engine::SpawnedFuture,
|
||||
backend::{Backend, Connector, ConnectorEvent, ConnectorId, ConnectorKernelId},
|
||||
video::drm::ConnectorType,
|
||||
},
|
||||
std::rc::Rc,
|
||||
};
|
||||
|
||||
pub struct DummyBackend {}
|
||||
pub struct DummyBackend;
|
||||
|
||||
impl Backend for DummyBackend {}
|
||||
impl Backend for DummyBackend {
|
||||
fn run(self: Rc<Self>) -> SpawnedFuture<Result<(), Box<dyn Error>>> {
|
||||
unreachable!();
|
||||
}
|
||||
}
|
||||
|
||||
pub struct DummyOutput {
|
||||
pub id: ConnectorId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue