What does `..` mean in an argument list?

I have seen it in some glutin code as

        match event {
            glutin::event::Event::WindowEvent { event, .. } => match event {


match cause {
                glutin::event::StartCause::ResumeTimeReached { .. } => ()

It's called the "rest" pattern, it means "ignore everything else".

1 Like

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.