Struct window::NoWindow [−] [src]

pub struct NoWindow {
    // some fields omitted
}

An implementation of Window that runs without a window at all.

Methods

impl NoWindow

fn new(settings: WindowSettings) -> NoWindow

Returns a new NoWindow.

Trait Implementations

impl Window for NoWindow

type Event = Input

fn should_close(&self) -> bool

fn size(&self) -> Size

fn swap_buffers(&mut self)

fn poll_event(&mut self) -> Option<Input>

fn draw_size(&self) -> Size

impl AdvancedWindow for NoWindow

fn get_title(&self) -> String

fn set_title(&mut self, value: String)

fn get_exit_on_esc(&self) -> bool

fn set_exit_on_esc(&mut self, _value: bool)

fn set_capture_cursor(&mut self, _value: bool)

fn title(self, value: String) -> Self

fn exit_on_esc(self, value: bool) -> Self

fn capture_cursor(self, value: bool) -> Self