use super::*;
#[repr(C)]
#[derive(Clone, Copy, Debug)]
pub(crate) struct CaFrameRateRange {
pub(crate) minimum: f32,
pub(crate) maximum: f32,
pub(crate) preferred: f32,
}
#[derive(Clone, Data, Debug)]
pub struct IosWindowRecord {
pub(crate) config: WindowConfig,
#[get(type(copy))]
pub(crate) state: WindowState,
#[get(type(copy))]
pub(crate) ui_window: usize,
#[get(type(copy))]
pub(crate) ui_view: usize,
#[get(type(copy))]
pub(crate) metal_layer: usize,
#[get(type(copy))]
pub(crate) is_ipad: bool,
}
#[derive(Clone, Data, Debug)]
pub struct IosPlatform {
#[get(type(copy))]
pub(crate) resolved_kind: PlatformKind,
#[get(pub(crate), type(copy))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub(crate) next_id: u64,
pub(crate) windows: HashMap<WindowId, IosWindowRecord>,
pub(crate) pending_events: Vec<WindowEvent>,
#[get(skip)]
pub(crate) clipboard_cache: Option<String>,
#[get(pub(crate), type(copy))]
#[set(pub(crate))]
pub(crate) display_link: usize,
#[get(pub(crate), type(copy))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub(crate) refresh_rate_hz: f32,
#[get(pub(crate), type(copy))]
#[set(pub(crate))]
pub(crate) pump_paused: bool,
#[get(pub(crate), type(copy))]
#[set(pub(crate))]
pub(crate) cached_color_space: usize,
}