Struct servo::headless_window::Window[][src]

pub struct Window {
    webrender_surfman: WebrenderSurfman,
    animation_state: Cell<AnimationState>,
    fullscreen: Cell<bool>,
    device_pixels_per_px: Option<f32>,
}

Fields

webrender_surfman: WebrenderSurfmananimation_state: Cell<AnimationState>fullscreen: Cell<bool>device_pixels_per_px: Option<f32>

Implementations

Trait Implementations

Get the coordinates of the native window, the screen and the framebuffer.

Set whether the application is currently animating. Typically, when animations are active, the window will want to avoid blocking on UI events, and just run the event loop at the vsync interval. Read more

Get the media GL context

Get the media native display

Get the GL api

Get the webrender surfman instance

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Convert

Convert

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.