Struct input::RenderArgs
[−]
[src]
pub struct RenderArgs {
pub ext_dt: f64,
pub width: u32,
pub height: u32,
pub draw_width: u32,
pub draw_height: u32,
}Render arguments
Fields
ext_dt: f64
Extrapolated time in seconds, used to do smooth animation.
width: u32
The width of rendered area in points.
height: u32
The height of rendered area in points.
draw_width: u32
The width of rendered area in pixels.
draw_height: u32
The height of rendered area in pixels.
Methods
impl RenderArgs[src]
Trait Implementations
impl<I> From<RenderArgs> for Event<I>[src]
fn from(args: RenderArgs) -> Self[src]
Performs the conversion.
impl Copy for RenderArgs[src]
impl Clone for RenderArgs[src]
fn clone(&self) -> RenderArgs[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for RenderArgs[src]
fn eq(&self, __arg_0: &RenderArgs) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RenderArgs) -> bool[src]
This method tests for !=.