[][src]Trait servo::window_trait::WindowPortsMethods

pub trait WindowPortsMethods: WindowMethods {
    fn get_events(&self) -> Vec<WindowEvent>;
fn id(&self) -> Option<WindowId>;
fn has_events(&self) -> bool;
fn page_height(&self) -> f32;
fn get_fullscreen(&self) -> bool;
fn winit_event_to_servo_event(&self, event: WindowEvent);
fn is_animating(&self) -> bool; fn set_title(&self, _title: &str) { ... }
fn set_inner_size(&self, _size: DeviceIntSize) { ... }
fn set_position(&self, _point: DeviceIntPoint) { ... }
fn set_fullscreen(&self, _state: bool) { ... }
fn set_cursor(&self, _cursor: Cursor) { ... } }

Required methods

fn get_events(&self) -> Vec<WindowEvent>

fn id(&self) -> Option<WindowId>

fn has_events(&self) -> bool

fn page_height(&self) -> f32

fn get_fullscreen(&self) -> bool

fn winit_event_to_servo_event(&self, event: WindowEvent)

fn is_animating(&self) -> bool

Loading content...

Provided methods

fn set_title(&self, _title: &str)

fn set_inner_size(&self, _size: DeviceIntSize)

fn set_position(&self, _point: DeviceIntPoint)

fn set_fullscreen(&self, _state: bool)

fn set_cursor(&self, _cursor: Cursor)

Loading content...

Implementors

impl WindowPortsMethods for servo::headed_window::Window[src]

impl WindowPortsMethods for servo::headless_window::Window[src]

Loading content...