You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would simplify moving a window to a position.
Example:
use sdl2::video::WindowPos::Positioned;// assume a window has been initializedlet num = 42;
window.set_position(WindowPos::Positioned(num),WindowPos::Positioned(num));// could be written as
window.set_position(num.into(), num.into());
The text was updated successfully, but these errors were encountered:
This would simplify moving a window to a position.
Example:
The text was updated successfully, but these errors were encountered: