Gets a mutable reference to a buffer from a RawSurface. Colors are u32s.
Accessing an array might look like softbuffer_quickstart::buffer_mut(&mut self.surface)[y * width + x] = 0xffffff.
Keep in mind you have to keep track of the buffer width yourself–the RawBuffer type can’t do that.
Initialises and returns a new RawWindow and RawSurface given an ActiveEventLoop and WindowProperties.
For instance, implementation within ApplicationHandler::resumed may look like:
Redraws a RawSurface. Call this on WindowEvent::RedrawRequested inside ApplicationHandler::window_event,
right after you’ve drawn everything to the RawSurface.