pub struct EngineWrapper(_);
Expand description
A Wrapper around an Engine
Create the Engine and the Wrapper
Create the Engine and the Wrapper
The core of your program,
Takes a function F that will be run every frame, It will do the event handling and similar
things between frames.
Return the current Target size in pixel
Get the status of a Mouse Button
Get the mouse location (in pixel) on the screen
Will be defaulted to (0,0) at the start of the program
Get the scroll wheel direction (If Any) during the frame
Get all Keys pressed during the last frame
Create a GPU version of Sprite
Tell the GPU to destroy everything related to that [Decal
]
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T> Downcast<T> for T
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.