I have seen it in some glutin
code as
match event {
glutin::event::Event::WindowEvent { event, .. } => match event {
and...
match cause {
glutin::event::StartCause::ResumeTimeReached { .. } => ()
I have seen it in some glutin
code as
match event {
glutin::event::Event::WindowEvent { event, .. } => match event {
and...
match cause {
glutin::event::StartCause::ResumeTimeReached { .. } => ()
It's called the "rest" pattern, it means "ignore everything else".
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.