@@ -13,7 +13,6 @@ use lambda_platform::winit::{
1313use crate :: core:: {
1414 component:: RenderableComponent ,
1515 events:: {
16- ComponentEvent ,
1716 Events ,
1817 KernelEvent ,
1918 WindowEvent ,
@@ -176,39 +175,39 @@ impl Kernel for LambdaKernel {
176175 WinitWindowEvent :: ReceivedCharacter ( _) => { }
177176 WinitWindowEvent :: Focused ( _) => { }
178177 WinitWindowEvent :: KeyboardInput {
179- device_id,
180- input,
181- is_synthetic,
178+ device_id : _ ,
179+ input : _ ,
180+ is_synthetic : _ ,
182181 } => { }
183182 WinitWindowEvent :: ModifiersChanged ( _) => { }
184183 WinitWindowEvent :: CursorMoved {
185- device_id,
186- position,
187- modifiers,
184+ device_id : _ ,
185+ position : _ ,
186+ modifiers : _ ,
188187 } => { }
189- WinitWindowEvent :: CursorEntered { device_id } => { }
190- WinitWindowEvent :: CursorLeft { device_id } => { }
188+ WinitWindowEvent :: CursorEntered { device_id : _ } => { }
189+ WinitWindowEvent :: CursorLeft { device_id : _ } => { }
191190 WinitWindowEvent :: MouseWheel {
192- device_id,
193- delta,
194- phase,
195- modifiers,
191+ device_id : _ ,
192+ delta : _ ,
193+ phase : _ ,
194+ modifiers : _ ,
196195 } => { }
197196 WinitWindowEvent :: MouseInput {
198- device_id,
199- state,
200- button,
201- modifiers,
197+ device_id : _ ,
198+ state : _ ,
199+ button : _ ,
200+ modifiers : _ ,
202201 } => { }
203202 WinitWindowEvent :: TouchpadPressure {
204- device_id,
205- pressure,
206- stage,
203+ device_id : _ ,
204+ pressure : _ ,
205+ stage : _ ,
207206 } => { }
208207 WinitWindowEvent :: AxisMotion {
209- device_id,
210- axis,
211- value,
208+ device_id : _ ,
209+ axis : _ ,
210+ value : _ ,
212211 } => { }
213212 WinitWindowEvent :: Touch ( _) => { }
214213 WinitWindowEvent :: ThemeChanged ( _) => { }
@@ -230,9 +229,15 @@ impl Kernel for LambdaKernel {
230229 }
231230 WinitEvent :: RedrawRequested ( _) => { }
232231 WinitEvent :: NewEvents ( _) => { }
233- WinitEvent :: DeviceEvent { device_id, event } => { }
232+ WinitEvent :: DeviceEvent {
233+ device_id : _,
234+ event : _,
235+ } => { }
234236 WinitEvent :: UserEvent ( lambda_event) => match lambda_event {
235- Events :: Kernel { event, issued_at } => match event {
237+ Events :: Kernel {
238+ event,
239+ issued_at : _,
240+ } => match event {
236241 KernelEvent :: Initialized => {
237242 println ! ( "Starting the kernel {}" , name) ;
238243 for component in & mut component_stack {
0 commit comments