Struct mini_gl_fb::core::Internal [−][src]
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]
&mut self,
event_loop: &mut EventLoop<ET>,
redraw: bool
)
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]
&mut self,
event_loop: &mut EventLoop<ET>,
handler: F
)
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,