Struct tether::Options [] [src]

pub struct Options<'a, H> { /* fields omitted */ }

Provides some configuration options for the window.

Methods

impl Options<'static, ()>
[src]

[src]

Creates a new configuration with sensible defaults.

  • The HTML is an empty string.
  • The initial window size is 640x480.
  • The minimum window size is the inital window size.
  • The window is not initially in fullscreen mode.

impl<'a, H> Options<'a, H>
[src]

[src]

Sets the initially displayed HTML.

[src]

Sets the preferred size.

[src]

Sets the preferred minimum size.

[src]

Sets whether the window should initially be in fullscreen mode.

[src]

Sets the event handler.

impl<'a, H: Handler> Options<'a, H>
[src]

[src]

Opens the window.

Trait Implementations

Auto Trait Implementations

impl<'a, H> Send for Options<'a, H> where
    H: Send

impl<'a, H> Sync for Options<'a, H> where
    H: Sync