gpui: Rename GPUSpecs to GpuSpecs (#22166)

This PR renames the `GPUSpecs` type to `GpuSpecs` to match Rust naming
conventions.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-12-17 17:22:53 -05:00 committed by GitHub
parent ce97e4ddc1
commit ba44db7f49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 22 additions and 22 deletions

View file

@ -2,7 +2,7 @@ use anyhow::{anyhow, Context};
use crate::{
platform::blade::{BladeRenderer, BladeSurfaceConfig},
px, size, AnyWindowHandle, Bounds, Decorations, DevicePixels, ForegroundExecutor, GPUSpecs,
px, size, AnyWindowHandle, Bounds, Decorations, DevicePixels, ForegroundExecutor, GpuSpecs,
Modifiers, Pixels, PlatformAtlas, PlatformDisplay, PlatformInput, PlatformInputHandler,
PlatformWindow, Point, PromptLevel, RequestFrameOptions, ResizeEdge, ScaledPixels, Scene, Size,
Tiling, WindowAppearance, WindowBackgroundAppearance, WindowBounds, WindowDecorations,
@ -1536,7 +1536,7 @@ impl PlatformWindow for X11Window {
client.update_ime_position(bounds);
}
fn gpu_specs(&self) -> Option<GPUSpecs> {
fn gpu_specs(&self) -> Option<GpuSpecs> {
self.0.state.borrow().renderer.gpu_specs().into()
}
}