Struct adi_gpu_base::Window [] [src]

pub struct Window { /* fields omitted */ }

A window on Windows, Android, IOS, Wayland, XWindows, Direct to Display, Aldaron's OS, Arduino, Nintendo Switch, A Web Page, or No OS.

Methods

impl Window
[src]

[src]

Create a window, using title as the title, and icon as the window icon. The format of icon is as follows: (width, height, pixels). You can load icons with aci. v should be either None or Some(visual_id from EGL).

[src]

Toggle whether the window is fullscreen.

[src]

Get the type of connection, plus native window and connection handles to pass to ffi. See WindowConnection for more details.

[src]

Get the width and height of the window, as a tuple.

[src]

Poll window input, return None when finished. After returning None, the next call will update the window.

Trait Implementations

Auto Trait Implementations

impl !Send for Window

impl !Sync for Window