pub trait PlatformDisplay: Send + Sync + Debug {
    // Required methods
    fn id(&self) -> DisplayId;
    fn uuid(&self) -> Result<Uuid>;
    fn as_any(&self) -> &dyn Any;
    fn bounds(&self) -> Bounds<GlobalPixels>;
}

Required Methods§

source

fn id(&self) -> DisplayId

source

fn uuid(&self) -> Result<Uuid>

Returns a stable identifier for this display that can be persisted and used across system restarts.

source

fn as_any(&self) -> &dyn Any

source

fn bounds(&self) -> Bounds<GlobalPixels>

Implementors§