Trait gpui2::PlatformDisplay
source · 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§
fn id(&self) -> DisplayId
sourcefn uuid(&self) -> Result<Uuid>
fn uuid(&self) -> Result<Uuid>
Returns a stable identifier for this display that can be persisted and used across system restarts.