Struct conrod::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]
fn viewport(&self) -> Viewport
Returns viewport information filling entire render area.
Trait Implementations
impl Debug for RenderArgs
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for RenderArgs
[src]
fn clone(&self) -> RenderArgs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Decodable for RenderArgs
[src]
fn decode<__D>(__arg_0: &mut __D) -> Result<RenderArgs, <__D as Decoder>::Error> where
__D: Decoder,
__D: Decoder,
impl Copy for RenderArgs
[src]
impl PartialEq<RenderArgs> for RenderArgs
[src]
fn eq(&self, __arg_0: &RenderArgs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RenderArgs) -> bool
This method tests for !=
.