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 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 !=
.
impl Debug for RenderArgs
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src][−]
Formats the value using the given formatter.
impl Decodable for RenderArgs
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<RenderArgs, __D::Error>
[src][−]
Deserialize a value using a Decoder
.