1use std::fmt::Debug;
2
3use uuid::Uuid;
4
5use crate::{Bounds, DisplayId, GlobalPixels, PlatformDisplay, Size};
6
7#[derive(Debug)]
8pub(crate) struct WaylandDisplay {}
9
10impl PlatformDisplay for WaylandDisplay {
11 // todo(linux)
12 fn id(&self) -> DisplayId {
13 DisplayId(123) // return some fake data so it doesn't panic
14 }
15
16 // todo(linux)
17 fn uuid(&self) -> anyhow::Result<Uuid> {
18 Ok(Uuid::from_bytes([0; 16])) // return some fake data so it doesn't panic
19 }
20
21 // todo(linux)
22 fn bounds(&self) -> Bounds<GlobalPixels> {
23 Bounds {
24 origin: Default::default(),
25 size: Size {
26 width: GlobalPixels(1000f32),
27 height: GlobalPixels(500f32),
28 },
29 } // return some fake data so it doesn't panic
30 }
31}