Struct fluffl::window::FlufflWindow
source · [−]pub struct FlufflWindow { /* private fields */ }
Implementations
sourceimpl FlufflWindow
impl FlufflWindow
pub fn run<Loop, LoopOut, State>(self, app_state: State, core_loop: Loop)where
Loop: Fn(FlufflWindowPtr, FlufflRunning, FlufflState<State>) -> LoopOut + Copy + 'static,
LoopOut: Future<Output = ()>,
State: 'static,
Trait Implementations
sourceimpl HasFlufflWindow for FlufflWindow
impl HasFlufflWindow for FlufflWindow
sourcefn get_events(&mut self) -> &mut FlufflEvent
fn get_events(&mut self) -> &mut FlufflEvent
returns the window event queue
sourcefn audio_context(&self) -> FlufflAudioContext
fn audio_context(&self) -> FlufflAudioContext
Returns a hook to audio functions
sourcefn set_fullscreen(&mut self, go_fullscreen: bool)
fn set_fullscreen(&mut self, go_fullscreen: bool)
Description Read more
fn get_bounds(&self) -> (u32, u32)
fn get_bounds_f32(&self) -> (f32, f32)
Auto Trait Implementations
impl !RefUnwindSafe for FlufflWindow
impl !Send for FlufflWindow
impl !Sync for FlufflWindow
impl Unpin for FlufflWindow
impl !UnwindSafe for FlufflWindow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more