File tree Expand file tree Collapse file tree
crates/lambda-platform/src/winit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ fn construct_window_size(
8484 } ;
8585}
8686
87- pub struct EventLoopPublisher < E : ' static > {
87+ pub struct LoopPublisher < E : ' static > {
8888 winit_proxy : EventLoopProxy < E > ,
8989}
9090
91- impl < E : ' static > EventLoopPublisher < E > {
91+ impl < E : ' static > LoopPublisher < E > {
9292 /// Instantiate a new EventLoopPublisher from an event loop proxy.
9393 #[ inline]
9494 pub fn new ( winit_proxy : EventLoopProxy < E > ) -> Self {
95- return EventLoopPublisher { winit_proxy } ;
95+ return LoopPublisher { winit_proxy } ;
9696 }
9797
9898 /// Send an event
@@ -103,9 +103,9 @@ impl<E: 'static> EventLoopPublisher<E> {
103103}
104104
105105impl < E : ' static > Loop < E > {
106- pub fn create_publisher ( & mut self ) -> EventLoopPublisher < E > {
106+ pub fn create_publisher ( & mut self ) -> LoopPublisher < E > {
107107 let proxy = self . event_loop . create_proxy ( ) ;
108- return EventLoopPublisher :: new ( proxy) ;
108+ return LoopPublisher :: new ( proxy) ;
109109 }
110110
111111 /// Returns the primary monitor for the current OS if detectable.
You can’t perform that action at this time.
0 commit comments