Struct a0_basic_app::Demo [−][src]
pub(crate) struct Demo { texture: TextureHandle, layer: LayerHandle, camera: OrthoCamera, }
Fields
texture: TextureHandle
layer: LayerHandle
camera: OrthoCamera
Implementations
Trait Implementations
Invoked by the application once just before the first update/render. Read more
fn handle_event(
&mut self,
window_event: &WindowEvent,
_window: &mut Window,
graphics: &mut Graphics
) -> Result<()>
fn handle_event(
&mut self,
window_event: &WindowEvent,
_window: &mut Window,
graphics: &mut Graphics
) -> Result<()>
Handle a glfw window event. Read more
Auto Trait Implementations
impl RefUnwindSafe for Demo
impl UnwindSafe for Demo
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.