summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2022-04-26 19:20:38 -0300
committerLibravatar Richard <richardsoncusto@gmail.com>2022-04-27 15:42:53 -0300
commit005e516b5e1e8bb22f2da8524ffe4529f3b60ba1 (patch)
treedb0ee0c41abf82949a901e71e952c822f308553d /graphics
parent984d1f375ecec301dd42b049eecd1b88e3bca32a (diff)
downloadiced-005e516b5e1e8bb22f2da8524ffe4529f3b60ba1.tar.gz
iced-005e516b5e1e8bb22f2da8524ffe4529f3b60ba1.tar.bz2
iced-005e516b5e1e8bb22f2da8524ffe4529f3b60ba1.zip
Rename `get_information` to `fetch_information`
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/window/compositor.rs2
-rw-r--r--graphics/src/window/gl_compositor.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/window/compositor.rs b/graphics/src/window/compositor.rs
index 3f1165d4..7525de1d 100644
--- a/graphics/src/window/compositor.rs
+++ b/graphics/src/window/compositor.rs
@@ -41,7 +41,7 @@ pub trait Compositor: Sized {
);
/// Returns [`GraphicsInformation`] used by this [`Compositor`].
- fn get_information(&self) -> Information;
+ fn fetch_information(&self) -> Information;
/// Presents the [`Renderer`] primitives to the next frame of the given [`Surface`].
///
diff --git a/graphics/src/window/gl_compositor.rs b/graphics/src/window/gl_compositor.rs
index 3adde8e6..4ff17366 100644
--- a/graphics/src/window/gl_compositor.rs
+++ b/graphics/src/window/gl_compositor.rs
@@ -52,7 +52,7 @@ pub trait GLCompositor: Sized {
fn resize_viewport(&mut self, physical_size: Size<u32>);
/// Returns [`GraphicsInformation`] used by this [`Compositor`].
- fn get_information(&self) -> Information;
+ fn fetch_information(&self) -> Information;
/// Presents the primitives of the [`Renderer`] to the next frame of the
/// [`GLCompositor`].