[][src]Struct glutin_window::GlutinWindow

pub struct GlutinWindow {
    pub ctx: ContextWrapper<PossiblyCurrent, Window>,
    // some fields omitted
}

Contains stuff for game window.

Fields

ctx: ContextWrapper<PossiblyCurrent, Window>

The window.

Methods

impl GlutinWindow[src]

pub fn new(settings: &WindowSettings) -> Result<Self, Box<dyn Error>>[src]

Creates a new game window for Glutin.

Trait Implementations

impl AdvancedWindow for GlutinWindow[src]

impl BuildFromWindowSettings for GlutinWindow[src]

impl OpenGLWindow for GlutinWindow[src]

impl Window for GlutinWindow[src]

Auto Trait Implementations

impl !RefUnwindSafe for GlutinWindow

impl !Send for GlutinWindow

impl !Sync for GlutinWindow

impl Unpin for GlutinWindow

impl !UnwindSafe for GlutinWindow

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.