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

[]

Extrapolated time in seconds, used to do smooth animation.

[]

The width of rendered area in points.

[]

The height of rendered area in points.

[]

The width of rendered area in pixels.

[]

The height of rendered area in pixels.

Methods

impl RenderArgs
[src]

[src]
[]

Returns viewport information filling entire render area.

Trait Implementations

impl Copy for RenderArgs
[src]

impl Clone for RenderArgs
[src]

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more

impl PartialEq for RenderArgs
[src]

[src]
[]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]
[]

This method tests for !=.

impl Debug for RenderArgs
[src]

[src]
[]

Formats the value using the given formatter.

impl Decodable for RenderArgs
[src]

[src]
[]

Deserialize a value using a Decoder.

impl Encodable for RenderArgs
[src]

[src]
[]

Serialize a value using an Encoder.