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

pub struct Internal {
    pub context: WindowedContext<PossiblyCurrent>,
    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

context: WindowedContext<PossiblyCurrent>fb: Framebuffer

Implementations

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 redraw(&mut self)[src]

pub fn persist<ET: 'static>(&mut self, event_loop: &mut EventLoop<ET>)[src]

pub fn persist_and_redraw<ET: 'static>(
    &mut self,
    event_loop: &mut EventLoop<ET>,
    redraw: bool
)
[src]

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

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

Auto Trait Implementations

impl !RefUnwindSafe for Internal

impl !Send for Internal

impl !Sync for Internal

impl Unpin for Internal

impl !UnwindSafe for Internal

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.