[][src]Struct mini_gl_fb::core::Internal

pub struct Internal {
    pub events_loop: EventsLoop,
    pub gl_window: GlWindow,
    pub fb: Framebuffer,
}

Hides away the guts of the library.

Public methods are considered stable. Provides more advanced methods that may be difficult or more complicated to use, but may be applicable to some use cases.

When MiniGlFb wraps a method from Internal, the documentation is provided there. If there is no documentation and you find the method is non-trivial, it's a bug! Feel free to submit an issue!

Fields

events_loop: EventsLoopgl_window: GlWindowfb: Framebuffer

Methods

impl Internal[src]

pub fn update_buffer<T>(&mut self, image_data: &[T])[src]

pub fn set_resizable(&mut self, resizable: bool)[src]

pub fn resize_viewport(&mut self, width: u32, height: u32)[src]

pub fn is_running(&mut self) -> bool[src]

pub fn redraw(&mut self)[src]

pub fn persist(&mut self)[src]

pub fn persist_and_redraw(&mut self, redraw: bool)[src]

pub fn glutin_handle_basic_input<F: FnMut(&mut Framebuffer, &BasicInput) -> bool>(
    &mut self,
    handler: F
)
[src]

pub fn glutin_breakout(self) -> GlutinBreakout[src]

Auto Trait Implementations

impl !Send for Internal

impl !Sync for Internal

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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<T> Erased for T