Struct rin::window::glfw_window::Window[][src]

pub struct Window { /* fields omitted */ }

Implementations

impl Window[src]

pub fn new(w: u32, h: u32, title: &str) -> Result<Window, Error>[src]

pub fn glfw_window_mut(&mut self) -> &mut Window[src]

pub fn glfw_window(&self) -> &Window[src]

pub fn set_adaptative_swap_interval(&mut self)[src]

pub fn window_mode(&self) -> WindowMode<'_>[src]

pub fn set_monitor(
    &mut self,
    mode: WindowMode<'_>,
    xpos: i32,
    ypos: i32,
    width: u32,
    height: u32,
    refresh_rate: Option<u32>
)
[src]

Trait Implementations

impl Drop for Window[src]

impl GlWindow for Window[src]

impl WindowExt for Window[src]

Auto Trait Implementations

impl !RefUnwindSafe for Window

impl !Send for Window

impl !Sync for Window

impl Unpin for Window

impl !UnwindSafe for Window

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Downcast for T where
    T: Any
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]