From 5be1ac18fe1757d31386f98774d823bd1137eea4 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 26 Apr 2022 19:09:09 -0300 Subject: Rename `GraphicsInformation` to `Information` --- graphics/src/window/compositor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/src/window/compositor.rs') diff --git a/graphics/src/window/compositor.rs b/graphics/src/window/compositor.rs index 035101c9..8a851773 100644 --- a/graphics/src/window/compositor.rs +++ b/graphics/src/window/compositor.rs @@ -39,7 +39,7 @@ pub trait Compositor: Sized { ); /// Returns [`GraphicsInformation`] used by this [`Compositor`]. - fn get_information(&self) -> GraphicsInformation; + fn get_information(&self) -> Information; /// Presents the [`Renderer`] primitives to the next frame of the given [`Surface`]. /// @@ -77,7 +77,7 @@ pub enum SurfaceError { /// Contains informations about the graphics (e.g. graphics adapter, graphics backend). #[derive(Debug)] -pub struct GraphicsInformation { +pub struct Information { /// Contains the graphics adapter. pub adapter: String, /// Contains the graphics backend. -- cgit