[−][src]Struct mini_gl_fb::core::Internal
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: EventsLoop
gl_window: GlWindow
fb: 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]
&mut self,
handler: F
)
pub fn glutin_breakout(self) -> GlutinBreakout
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.