From 550f282be73eb5b2f9258cee33ae0660c46c5376 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Mon, 5 Aug 2024 23:09:56 +0859 Subject: [PATCH] chore: change the name of `F` --- layershellev/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layershellev/src/lib.rs b/layershellev/src/lib.rs index b55a3f8..a79ec3f 100644 --- a/layershellev/src/lib.rs +++ b/layershellev/src/lib.rs @@ -285,7 +285,7 @@ impl ZxdgOutputInfo { /// and it can set a binding, you to store the related data. like /// a cario_context, which is binding to the buffer on the wl_surface. #[derive(Debug)] -pub struct WindowStateUnit { +pub struct WindowStateUnit { id: id::Id, display: WlDisplay, wl_surface: WlSurface, @@ -296,10 +296,10 @@ pub struct WindowStateUnit { fractional_scale: Option, binding: Option, becreated: bool, - info: Option, + info: Option, } -impl WindowStateUnit { +impl WindowStateUnit { pub fn id(&self) -> id::Id { self.id } @@ -311,7 +311,7 @@ impl WindowStateUnit { } } } -impl WindowStateUnit { +impl WindowStateUnit { #[inline] pub fn raw_window_handle_rwh_06(&self) -> Result { Ok(rwh_06::WaylandWindowHandle::new({ @@ -333,7 +333,7 @@ impl WindowStateUnit { } } -impl rwh_06::HasWindowHandle for WindowStateUnit { +impl rwh_06::HasWindowHandle for WindowStateUnit { fn window_handle(&self) -> Result, rwh_06::HandleError> { let raw = self.raw_window_handle_rwh_06()?; @@ -343,7 +343,7 @@ impl rwh_06::HasWindowHandle for WindowStateUnit { } } -impl rwh_06::HasDisplayHandle for WindowStateUnit { +impl rwh_06::HasDisplayHandle for WindowStateUnit { fn display_handle(&self) -> Result, rwh_06::HandleError> { let raw = self.raw_display_handle_rwh_06()?;