bite-gp-types 1.25.201

gpui_types — part of the bite-gpui rearchitecture of zed's gpui
Documentation
//! Core API primitive types shared between GPUI and its platform backends.
//!
//! This crate sits at the bottom of GPUI's dependency graph. It holds the pure
//! value types — geometry (`Pixels`, `Point`, `Size`, `Bounds`, …) and colors
//! (`Rgba`, `Hsla`, `Background`, …) — that both the `gpui` crate and the
//! platform implementations depend on.
//!
//! Keeping these types here means a platform backend can depend on the API
//! primitives without depending on all of `gpui`. The `gpui` crate re-exports
//! everything in this crate, so `gpui::Pixels` and `gpui_types::Pixels` name
//! the same type and consumers do not need to know this crate exists.

#![warn(missing_docs)]

mod color;
mod geometry;
mod input;
mod keyboard;
mod layout;
mod math;
mod scene;
mod style;

#[cfg(feature = "lyon")]
mod lyon_bridge;

pub use color::*;
pub use geometry::*;
pub use input::*;
pub use keyboard::*;
pub use layout::*;
pub use math::*;
pub use scene::*;
pub use style::*;